Doc: explain that the string types can't store \0 (ASCII NUL).
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Dec 2020 17:06:19 +0000 (12:06 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Dec 2020 17:06:19 +0000 (12:06 -0500)
commit0921b86ca1e451c70642c3007feb25f7efb34f65
tree8115513f2b95e3bbfdcc6a717f5a43a34a7a29c2
parentf95d9fd8153cb1b7da55f425bf217482e4943d2e
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: http://postgr.es/m/160720552914.710.16625261471128631268@wrigleys.postgresql.org
doc/src/sgml/datatype.sgml