Add comment for VARSIZE_ANY_EXHDR macro

Gurjeet Singh
This commit is contained in:
Bruce Momjian 2013-09-10 20:18:53 -04:00
parent d8a5608d4a
commit 0f59f4a645

View File

@ -307,6 +307,7 @@ typedef struct
(VARATT_IS_1B(PTR) ? VARSIZE_1B(PTR) : \
VARSIZE_4B(PTR)))
/* Size of a varlena data, excluding header */
#define VARSIZE_ANY_EXHDR(PTR) \
(VARATT_IS_1B_E(PTR) ? VARSIZE_EXTERNAL(PTR)-VARHDRSZ_EXTERNAL : \
(VARATT_IS_1B(PTR) ? VARSIZE_1B(PTR)-VARHDRSZ_SHORT : \