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