1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-22 12:22:45 +03:00

doc: 1-byte varlena headers can be used for user PLAIN storage

This also updates some C comments.

Reported-by: suchithjn22@gmail.com

Discussion: https://postgr.es/m/167336599095.2667301.15497893107226841625@wrigleys.postgresql.org

Author: Laurenz Albe (doc patch)

Backpatch-through: 11
This commit is contained in:
Bruce Momjian
2023-10-31 09:10:35 -04:00
parent 75e700db45
commit 989adace3f
3 changed files with 13 additions and 5 deletions

View File

@@ -2608,7 +2608,8 @@ range_contains_elem_internal(TypeCacheEntry *typcache, const RangeType *r, Datum
* values into a range object. They are modeled after heaptuple.c's
* heap_compute_data_size() and heap_fill_tuple(), but we need not handle
* null values here. TYPE_IS_PACKABLE must test the same conditions as
* heaptuple.c's ATT_IS_PACKABLE macro.
* heaptuple.c's ATT_IS_PACKABLE macro. See the comments thare for more
* details.
*/
/* Does datatype allow packing into the 1-byte-header varlena format? */