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

Commit 122b0cc

Browse files
committed
Doc: correct misstatement about ltree label maximum length.
The documentation says that the max length is 255 bytes, but code inspection says it's actually 255 characters; and relevant lengths are stored as uint16 so that that works.
1 parent e1ff780 commit 122b0cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/ltree.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
<para>
2626
A <firstterm>label</firstterm> is a sequence of alphanumeric characters
2727
and underscores (for example, in C locale the characters
28-
<literal>A-Za-z0-9_</literal> are allowed). Labels must be less than 256 bytes
29-
long.
28+
<literal>A-Za-z0-9_</literal> are allowed).
29+
Labels must be less than 256 characters long.
3030
</para>
3131

3232
<para>

0 commit comments

Comments
 (0)