diff options
| author | Michael Paquier | 2026-09-06 23:45:23 +0000 |
|---|---|---|
| committer | Michael Paquier | 2026-09-06 23:45:23 +0000 |
| commit | c5806f2165b57434290dd345ba301e4179634c23 (patch) | |
| tree | d06ac8a199061f47732fa728a1f948cb81c12e79 /doc | |
| parent | 798bdcae89debabc59fa8afc6d690fec584db32f (diff) | |
This impacts a few more definitions, related to this structure, as of:
- VARTAG_ONDISK -> VARTAG_ONDISK_OID
- TOAST_POINTER_SIZE -> TOAST_OID_POINTER_SIZE
- TOAST_MAX_CHUNK_SIZE -> TOAST_OID_MAX_CHUNK_SIZE
- Macros in varatt.h for varatt_external_oid.
This rename is part of a conversation to add support for more types of
external TOAST pointers, not only OID. One of them is to extend the
pointers to use an OID8 variant. The control file field for the max
chunk size is left out, for now.
Author: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Yugo Nagata <nagata@sraoss.co.jp>
Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://postgr.es/m/CALj2ACVnO6jjs5aRx3dSOBy9LV7=iakPBR1eOvoeB8rL8Q47zg@mail.gmail.com
Discussion: https://postgr.es/m/apoD1Ulet2PtDrRV@paquier.xyz
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/src/sgml/storage.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml index 19924b98d71..90aae3defcb 100644 --- a/doc/src/sgml/storage.sgml +++ b/doc/src/sgml/storage.sgml @@ -417,7 +417,7 @@ described in more detail below. <para> Out-of-line values are divided (after compression if used) into chunks of at -most <symbol>TOAST_MAX_CHUNK_SIZE</symbol> bytes (by default this value is chosen +most <symbol>TOAST_OID_MAX_CHUNK_SIZE</symbol> bytes (by default this value is chosen so that four chunk rows will fit on a page, making it about 2000 bytes). Each chunk is stored as a separate row in the <acronym>TOAST</acronym> table belonging to the owning table. Every |
