| От | Tom Lane |
|---|---|
| Тема | Re: Missed bet in toaster routines |
| Дата | |
| Msg-id | 5576.1074278640@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Missed bet in toaster routines (Jan Wieck <JanWieck@Yahoo.com>) |
| Список | pgsql-hackers |
Jan Wieck <JanWieck@Yahoo.com> writes:
> Tom Lane wrote:
>> Wouldn't it be a win for heap_tuple_toast_attrs() to fall out quickly
>> if the tuple contains no varlena attributes?
> Why sure it would. That code is quite frequently called.
I take it back --- the short-circuit test already exists, but it's at
the call sites rather than in tuptoaster.c.
However, it looks like we can tighten the tests a bit. For instance
heap_delete invokes the toaster if HeapTupleHasExtended, whereas it
seems to me it'd be sufficient to check HasExternal --- we don't care
about deleting compressed-in-line stuff, do we?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера