Re: BUG #15114: logical decoding Segmentation fault

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: BUG #15114: logical decoding Segmentation fault
Дата
Msg-id 20190129015350.GA4128278@rfd.leadboat.com
обсуждение исходный текст
Ответ на Re: BUG #15114: logical decoding Segmentation fault  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-bugs
Looks good.  I found no functional problems.

On Mon, Jan 28, 2019 at 10:32:16PM +0100, Peter Eisentraut wrote:
> The fix is to avoid the constant expressions simplification in
> RelationGetIndexAttrBitmap(), so that it becomes safe to call in these
> contexts.  The constant expressions simplification comes from the
> calls to RelationGetIndexExpressions()/RelationGetIndexPredicate() via
> BuildIndexInfo().  But RelationGetIndexAttrBitmap() calling
> BuildIndexInfo() is overkill.  The latter just takes pg_index catalog
> information, packs it into the IndexInfo structure, which former than
> just unpacks again and throws away.

s/former than/the former then/


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #15114: logical decoding Segmentation fault
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15609: synchronous_commit=off insert performance regression with secondary indexes