Skip to content

Commit 0f59f4a

Browse files
committed
Add comment for VARSIZE_ANY_EXHDR macro
Gurjeet Singh
1 parent d8a5608 commit 0f59f4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/include/postgres.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ typedef struct
307307
(VARATT_IS_1B(PTR) ? VARSIZE_1B(PTR) : \
308308
VARSIZE_4B(PTR)))
309309

310+
/* Size of a varlena data, excluding header */
310311
#define VARSIZE_ANY_EXHDR(PTR) \
311312
(VARATT_IS_1B_E(PTR) ? VARSIZE_EXTERNAL(PTR)-VARHDRSZ_EXTERNAL : \
312313
(VARATT_IS_1B(PTR) ? VARSIZE_1B(PTR)-VARHDRSZ_SHORT : \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy