diff options
author | Noah Misch | 2017-03-12 23:35:30 +0000 |
---|---|---|
committer | Noah Misch | 2017-03-12 23:35:30 +0000 |
commit | 9e0926468a1c41a31c09785787a737311dcd92c1 (patch) | |
tree | d8666fb9ba9b63a3613ea4499b75a78f4af11134 | |
parent | 766f7fd613adbceaf1b40803793e10dc487f8596 (diff) |
Fix comment about length of text, bytea, etc.
When commit 3e23b68dac006e8deb0afa327e855258df8de064 introduced
single-byte varlena headers, it rendered this comment incomplete.
-rw-r--r-- | src/include/c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h index bd122f6a56..492648cd8a 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -446,7 +446,7 @@ struct varlena /* * These widely-used datatypes are just a varlena header and the data bytes. * There is no terminating null or anything like that --- the data length is - * always VARSIZE(ptr) - VARHDRSZ. + * always VARSIZE_ANY_EXHDR(ptr). */ typedef struct varlena bytea; typedef struct varlena text; |