Content-Length: 253966 | pFad | http://github.com/postgrespro/postgres/commit/0f59f4a645ec92e580baa4c8feb9f285a8279a15

A4 Add comment for VARSIZE_ANY_EXHDR macro · postgrespro/postgres@0f59f4a · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0f59f4a645ec92e580baa4c8feb9f285a8279a15

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy