Re: [BUG] failed assertion in EnsurePortalSnapshotExists()
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Drouvot, Bertrand" <bdrouvot@amazon.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>,
Ranier Vilela <ranier.vf@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-09-30T18:25:27Z
Lists: pgsql-hackers
"Drouvot, Bertrand" <bdrouvot@amazon.com> writes: > On 9/30/21 7:16 PM, Tom Lane wrote: >> PS: Memo to self: in the back branches, the new field has to be >> added at the end of struct Portal. > out of curiosity, why? Sticking it into the middle would create an ABI break for any extension code that's looking at struct Portal, due to movement of existing field offsets. In HEAD that's fine, so we should put the field where it makes the most sense. But we have to be careful about changing globally-visible structs in released branches. regards, tom lane
Commits
-
Fix Portal snapshot tracking to handle subtransactions properly.
- e6adaa1795d5 14.1 landed
- cded2c46099e 12.9 landed
- 7b5d4c29ed02 15.0 landed
- 5abbda98594d 11.14 landed
- 04ef2021e3ca 13.5 landed