Re: Question about InvalidatePossiblyObsoleteSlot()
suyu.cmj <mengjuan.cmj@alibaba-inc.com>
From: "suyu.cmj" <mengjuan.cmj@alibaba-inc.com>
To: "bertranddrouvot.pg" <bertranddrouvot.pg@gmail.com>
Cc: "bharath.rupireddyforpostgres" <bharath.rupireddyforpostgres@gmail.com>,
"amit.kapila16" <amit.kapila16@gmail.com>,
"michael" <michael@paquier.xyz>,
"pgsql-hackers" <pgsql-hackers@postgresql.org>
Date: 2025-10-13T15:03:02Z
Lists: pgsql-hackers
Hi, Thanks for your detailed reply. > I think that we could get rid of the initial_restart_lsn and just use > s->data.restart_lsn here (while keeping initial xmin ones to preserve the > intent of 818fefd8fd4 for those). I agree with your proposed change. > Your concern is only about the restart_lsn, right? (asking because I don't think > it's safe not to rely on the initial_* for the xmin ones, see [1]). My primary concern is indeed the restart_lsn issue, and thanks again for the clear explanation. Best regards, suyu.cmj
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix regression with slot invalidation checks
- e3714dc059db 16.11 landed
- f3fb6bc9feec 17.7 landed
- bf3dba508ee1 18.1 landed
- d43209468906 19 (unreleased) landed
-
Fix race leading to incorrect conflict cause in InvalidatePossiblyObsoleteSlot()
- 818fefd8fd44 17.0 cited