pgsql: Doc: explain that the string types can't store \0 (ASCII NUL).

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: explain that the string types can't store \0 (ASCII NUL).
Date: 2020-12-08 17:06:38
Message-ID: E1kmgRi-0000xo-5K@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Doc: explain that the string types can't store \0 (ASCII NUL).

This restriction was mentioned in connection with string literals,
but it wasn't made clear that it's a general restriction not just
a syntactic limitation in query strings.

Per unsigned documentation comment.

Discussion: https://postgr.es/m/160720552914.710.16625261471128631268@wrigleys.postgresql.org

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/10c601578a25a1811e68c30d2775952858672a15

Modified Files
--------------
doc/src/sgml/datatype.sgml | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-12-08 18:10:16 pgsql: Doc: clarify that CREATE TABLE discards redundant unique constra
Previous Message Fujii Masao 2020-12-08 15:00:44 pgsql: Speed up rechecking if relation needs to be vacuumed or analyze