Re: get rid of RM_HEAP2_ID

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: get rid of RM_HEAP2_ID
Дата
Msg-id 633f0bcf-f313-466b-aa09-c6f62056178f@iki.fi
обсуждение исходный текст
Ответ на Re: get rid of RM_HEAP2_ID  (John Naylor <johncnaylorls@gmail.com>)
Ответы Re: get rid of RM_HEAP2_ID
Список pgsql-hackers
On 15/10/2025 07:51, John Naylor wrote:
> On Tue, Oct 14, 2025 at 7:20 PM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>> This patch consumes one of the padding bytes. That's not entirely free,
>> as there is an opportunity cost: we could squeeze out the padding bytes
>> and save 2 bytes on every WAL record instead.
> 
> I must be misunderstanding, because I'm not sure how that would work
> with the alignment requirement of later parts.

We could store xl_crc unaligned. IIRC all the structs that follow that 
are already stored unaligned.

- Heikki




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