Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9e09264

Browse files
committed
Fix comment about length of text, bytea, etc.
When commit 3e23b68 introduced single-byte varlena headers, it rendered this comment incomplete.
1 parent 766f7fd commit 9e09264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/c.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ struct varlena
446446
/*
447447
* These widely-used datatypes are just a varlena header and the data bytes.
448448
* There is no terminating null or anything like that --- the data length is
449-
* always VARSIZE(ptr) - VARHDRSZ.
449+
* always VARSIZE_ANY_EXHDR(ptr).
450450
*/
451451
typedef struct varlena bytea;
452452
typedef struct varlena text;

0 commit comments

Comments
 (0)