Re: [BUG] failed assertion in EnsurePortalSnapshotExists() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUG] failed assertion in EnsurePortalSnapshotExists()
Date
Msg-id 3181300.1633026327@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUG] failed assertion in EnsurePortalSnapshotExists()  ("Drouvot, Bertrand" <bdrouvot@amazon.com>)
Responses Re: [BUG] failed assertion in EnsurePortalSnapshotExists()
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [EXTERNAL] Re: Add ETIMEDOUT to ALL_CONNECTION_FAILURE_ERRNOS
Next
From: Jaime Casanova
Date:
Subject: Re: FETCH FIRST clause PERCENT option