diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-03-29 18:54:19 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-03-29 18:54:19 -0400 |
commit | 122b0ccfef068b0c0c3716c83a93173866e454aa (patch) | |
tree | 92c2ffed5673586fe2edbd92fd0d1eca69ba8f1f | |
parent | e1ff780485ca9ff0d2db3cd716b63557fc6ae5e5 (diff) | |
download | postgresql-122b0ccfef068b0c0c3716c83a93173866e454aa.tar.gz postgresql-122b0ccfef068b0c0c3716c83a93173866e454aa.zip |
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.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ltree.sgml b/doc/src/sgml/ltree.sgml index 0c74aa705e9..2d539f23fd8 100644 --- a/doc/src/sgml/ltree.sgml +++ b/doc/src/sgml/ltree.sgml @@ -25,8 +25,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_</literal> are allowed). Labels must be less than 256 bytes - long. + <literal>A-Za-z0-9_</literal> are allowed). + Labels must be less than 256 characters long. </para> <para> |