| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] How to turn off TOAST on a table/column |
| Дата | |
| Msg-id | 29208.1006898912@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | How to turn off TOAST on a table/column (Barry Lind <barry@xythos.com>) |
| Список | pgsql-general |
"Ross J. Reedstrom" <reedstrm@rice.edu> writes:
>> would suffice to disable toasting of all columns in 'mytable'.
> This would reimpose the max-tuple limit on that table, would it not?
> So trying to store 'too large' a text would error?
Right. Presumably, that's what Barry wants to test. In practice the
other values are more likely to be useful (for toastable datatypes
that is).
>> See src/include/pg_attribute.h for documentation of the allowed values
>> for attstorage.
> This needs to get into the admin docs. I suppose it's also waiting on the
> ALTER TABLE interface.
Yeah. Right now it's too easy to shoot yourself in the foot (for
example, you mustn't set attstorage to anything but 'p' for a
non-varlena datatype). So we haven't wanted to document the
UPDATE-pg_attribute approach.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера