postgres.git / summary / log / commit / refs
commit e4e07cca5a8a86bedcd874a6f674550407d35555
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sun Mar 29 22:54:19 2020 +0000
First released in: 13.0, 9.5.22, 9.6.18, 10.13, 11.8, 12.3
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.
doc/src/sgml/ltree.sgml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/src/sgml/ltree.sgml b/doc/src/sgml/ltree.sgml
index 97dc8aa2d06..b399391da16 100644
--- a/doc/src/sgml/ltree.sgml
+++ b/doc/src/sgml/ltree.sgml
@@ -19,8 +19,8 @@
<para>
A <firstterm>label</firstterm> is a sequence of alphanumeric characters
and underscores (for example, in C locale the characters
- <literal>A-Za-z0-9_</> are allowed). Labels must be less than 256 bytes
- long.
+ <literal>A-Za-z0-9_</> are allowed).
+ Labels must be less than 256 characters long.
</para>
<para>
[parent: 2618ac6c6535]