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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy