Re: pgsql: Fix a crash in logical replication - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql: Fix a crash in logical replication
Date
Msg-id 34cf0db4-62e3-63b1-576c-310b785a877f@2ndquadrant.com
Whole thread Raw
In response to Re: pgsql: Fix a crash in logical replication  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-committers
On 30/01/2019 10:54, Alvaro Herrera wrote:
> On 2019-Jan-30, Peter Eisentraut wrote:
> 
>> Fix a crash in logical replication
>>
>> The bug was that determining which columns are part of the replica
>> identity index using RelationGetIndexAttrBitmap() would run
>> eval_const_expressions() on index expressions and predicates across
>> all indexes of the table, which in turn might require a snapshot, but
>> there wasn't one set, so it crashes.  There were actually two separate
>> bugs, one on the publisher and one on the subscriber.
> 
> The intention is to backpatch this fix all the way back to 9.4, right?

Yeah, the backpatching took a little longer than expected.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: Change error handling of out of scope variables in ecpg.
Next
From: David Rowley
Date:
Subject: Re: pgsql: Change error handling of out of scope variables in ecpg.