Re: Assertion failure with small block sizes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Assertion failure with small block sizes
Дата
Msg-id 1323.1192501967@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Assertion failure with small block sizes  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Assertion failure with small block sizes  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-patches
Gregory Stark <stark@enterprisedb.com> writes:
> If I push the TOAST_TUPLES_PER_PAGE up to 16 I get another failure on the same
> line from trying to toast a sequence. If I add RELKIND_SEQUENCE to the
> assertion then it passes all regression tests even if I push
> TOAST_TUPLES_PER_PAGE up to 1024 -- ie, try to toast everything as far as
> possible. Perhaps heapam.c:1761 should just check for RELKIND_SEQUENCE as
> well.

Hmm.  I'm inclined to reverse the tests (there are 3 not just 1) in
heapam.c, so that it explicitly tries to toast only in plain tables,
rather than adding more exclusion cases.  Thoughts?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] quote_literal with NULL
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Assertion failure with small block sizes