Re: TOAST pointer size

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TOAST pointer size
Дата
Msg-id 2303584.1607191774@sss.pgh.pa.us
обсуждение исходный текст
Ответ на TOAST pointer size  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> It would be nice to add a break-down of why the TOAST Pointer size is 18
> bytes

Use the source, Luke.  The useful pointer data is indeed 16 bytes:


https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/postgres.h;h=c48f47e930ad05d3ae2e24b0c0c85662cd058a7b;hb=HEAD#l67

but there's varlena tag overhead:


https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/postgres.h;h=c48f47e930ad05d3ae2e24b0c0c85662cd058a7b;hb=HEAD#l159

This doesn't seem like appropriate detail for the user docs.

            regards, tom lane



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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: TOAST pointer size
Следующее
От: PG Doc comments form
Дата:
Сообщение: Hyperlink to src/tutorial/ would be nice (SQL Tutorial)