Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1
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)