Re: assertion in 9.4 with wal_level=logical

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: assertion in 9.4 with wal_level=logical
Дата
Msg-id 20140417204703.GC17874@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: assertion in 9.4 with wal_level=logical  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: assertion in 9.4 with wal_level=logical  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2014-04-17 17:40:01 -0300, Alvaro Herrera wrote:
> For once, this looks more like a problem in logical decoding, which is
> trying to assert about the tuple being updated; the assertion failing is
> the one added a week ago about not palloc'ing in a critical section.

It's this (older) assertion in HeapTupleHeaderGetCmax():
Assert(TransactionIdIsCurrentTransactionId(HeapTupleHeaderGetUpdateXid(tup)));

That can allocate memory if xmax is a multixact... Does anybody have a
better idea to solve this than adding a CritSectionCount == 0 && in
there?

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Clock sweep not caching enough B-Tree leaf pages?
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Clock sweep not caching enough B-Tree leaf pages?