Re: Support for 8-byte TOAST values (aka the TOAST infinite loop problem)
Nikita Malakhov <hukutoc@gmail.com>
From: Nikita Malakhov <hukutoc@gmail.com>
To: "Burd, Greg" <greg@burd.me>
Cc: Michael Paquier <michael@paquier.xyz>, Hannu Krosing <hannuk@google.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-08T18:31:29Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add data type oid8, 64-bit unsigned identifier
- b139bd3b6ef0 19 (unreleased) landed
Hi! Greg, thanks for the interest in our work! Michael, one more thing forgot to mention yesterday - #define TOAST_EXTERNAL_INFO_SIZE (VARTAG_ONDISK_OID + 1) static const toast_external_info toast_external_infos[TOAST_EXTERNAL_INFO_SIZE] VARTAG_ONDISK_OID historically has a value of 18 and here we got an array of 19 members with only 2 valid ones. What do you think about having an individual TOAST value id counter per relation instead of using a common one? I think this is a very promising approach, but a decision must be made where it should be stored. -- Regards, Nikita Malakhov Postgres Professional The Russian Postgres Company https://postgrespro.ru/