summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-03-29 18:54:19 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-03-29 18:54:19 -0400
commita9120b0163f308b0a20ac473cc45499991e4e32f (patch)
tree4921a3162f563e411721a777aee5c9d678b9f8d8
parent39491aa0da48efabea5f16eb5104a0eb0ae0b251 (diff)
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.
-rw-r--r--doc/src/sgml/ltree.sgml4
1 files 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>