Caching offsets of varlena attributes

Поиск
Список
Период
Сортировка
От Vignesh Raghunathan
Тема Caching offsets of varlena attributes
Дата
Msg-id CAD_AmViFotr4CgrBSz5RNnC+FSWshAKnWrCC9VTCgHAGzkCzMQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Caching offsets of varlena attributes
Список pgsql-hackers
Hello,

In the function heap_deform_tuple, there is a comment before caching varlena attributes specifying that the offset will be valid for either an aligned or unaligned value if there are no padding bytes. Could someone please elaborate on this?

Also, why is it safe to call att_align_nominal if the attribute is not varlena? Couldn't att_align_pointer be called for both cases? I am not able to understand how att_align_nominal is faster.

Thanks,
Vignesh

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Freeze avoidance of very large table.
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: LWLock deadlock and gdb advice