Re: pgsql: Fix a crash in logical replication

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql: Fix a crash in logical replication
Дата
Msg-id 34cf0db4-62e3-63b1-576c-310b785a877f@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: pgsql: Fix a crash in logical replication  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: pgsql: Change error handling of out of scope variables in ecpg.
Следующее
От: David Rowley
Дата:
Сообщение: Re: pgsql: Change error handling of out of scope variables in ecpg.