diff options
author | Bruce Momjian <bruce@momjian.us> | 2013-09-10 20:18:53 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2013-09-10 20:18:53 -0400 |
commit | 0f59f4a645ec92e580baa4c8feb9f285a8279a15 (patch) | |
tree | 980440b54f9acf6054557dfb743f74f578527d04 /src/include/postgres.h | |
parent | d8a5608d4ac9d4b74772980666cc6626bd18c3ff (diff) | |
download | postgresql-0f59f4a645ec92e580baa4c8feb9f285a8279a15.tar.gz postgresql-0f59f4a645ec92e580baa4c8feb9f285a8279a15.zip |
Add comment for VARSIZE_ANY_EXHDR macro
Gurjeet Singh
Diffstat (limited to 'src/include/postgres.h')
-rw-r--r-- | src/include/postgres.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index cb9d196c519..3c5acdba8b7 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -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 : \ |