| От | Tom Lane |
|---|---|
| Тема | Re: Assertion failure with small block sizes |
| Дата | |
| Msg-id | 3061.1192507139@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Assertion failure with small block sizes (Gregory Stark <stark@enterprisedb.com>) |
| Список | pgsql-patches |
Gregory Stark <stark@enterprisedb.com> writes:
> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
>> 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?
> Well RELKIND_UNCATALOGED can be usefully toasted in that data can be
> compressed internally.
But by the time we are inserting any data that needs compression, the
relkind should not be that anymore. This would only be an issue if
pg_proc.h itself contained DATA() lines long enough to need toasting.
I argue that that isn't true and isn't likely to become true. (See
ts_debug() for an example of deliberately avoiding such a case...)
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера