mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Add comment for VARSIZE_ANY_EXHDR macro
Gurjeet Singh
This commit is contained in:
parent
d8a5608d4a
commit
0f59f4a645
@ -307,6 +307,7 @@ typedef struct
|
|||||||
(VARATT_IS_1B(PTR) ? VARSIZE_1B(PTR) : \
|
(VARATT_IS_1B(PTR) ? VARSIZE_1B(PTR) : \
|
||||||
VARSIZE_4B(PTR)))
|
VARSIZE_4B(PTR)))
|
||||||
|
|
||||||
|
/* Size of a varlena data, excluding header */
|
||||||
#define VARSIZE_ANY_EXHDR(PTR) \
|
#define VARSIZE_ANY_EXHDR(PTR) \
|
||||||
(VARATT_IS_1B_E(PTR) ? VARSIZE_EXTERNAL(PTR)-VARHDRSZ_EXTERNAL : \
|
(VARATT_IS_1B_E(PTR) ? VARSIZE_EXTERNAL(PTR)-VARHDRSZ_EXTERNAL : \
|
||||||
(VARATT_IS_1B(PTR) ? VARSIZE_1B(PTR)-VARHDRSZ_SHORT : \
|
(VARATT_IS_1B(PTR) ? VARSIZE_1B(PTR)-VARHDRSZ_SHORT : \
|
||||||
|
Loading…
Reference in New Issue
Block a user