| От | Tom Lane |
|---|---|
| Тема | Re: Useless toast |
| Дата | |
| Msg-id | 1080784.1721763935@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Useless toast (Peter Eisentraut <peter@eisentraut.org>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter@eisentraut.org> writes:
> On 23.07.24 20:35, Marcos Pegoraro wrote:
>> I think none of these tables should have a toast, right ?
> The mechanism that determines whether a toast table is needed only
> considers the data type, not the "typmod" (arguments of the data type).
> So this is perhaps suboptimal, but this logic just doesn't exist.
Not true, see type_maximum_size() in format_type.c. But I'm
uninterested in making that drill down into domains, or at least
that would not be my first concern if we were trying to improve it.
(The first concern would be to let extension types in on the fun.)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера