Re: Support for 8-byte TOAST values (aka the TOAST infinite loop problem)

Поиск
Список
Период
Сортировка
От Nikita Malakhov
Тема Re: Support for 8-byte TOAST values (aka the TOAST infinite loop problem)
Дата
Msg-id CAN-LCVNsE4x0k11ZRWvU4ySTbe98fwA16qzV7p8dxogWnD5Jng@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Support for 8-byte TOAST values (aka the TOAST infinite loop problem)  (Hannu Krosing <hannuk@google.com>)
Список pgsql-hackers
Hi!

Hannu, we'd already made an attempt to extract the TOAST functionality as API
and make it extensible and usable by other AMs in [1], the patch set was met calmly
but we still have some hopes on it.

Michael, glad you continue this work! Took patch set for review.


--
Regards,
Nikita Malakhov
Postgres Professional
The Russian Postgres Company


On Fri, Jul 4, 2025 at 2:03 PM Hannu Krosing <hannuk@google.com> wrote:
Hi Michael

I'll take a look at the patch set.

While digging around in the TOAST code did you have any ideas on how
one could extract the TOAST APIs in a way that they can be added in
Table Access Method definition ?

Not all TAMs need TOAST, but the ones that do could also be the ones
that still like to do something different when materializing toasted
values.

And TOAST is actually a nice abstraction which could be used as basis
for both offloading more columns into separate forks and files as well
as implementing some kinds of vectored, columnar and compressed
storages.

----
Hannu

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