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)
commit9a2641911aeaa7f6523dc2a465088051d4c85901
tree6e3c4d7b47892b96cea375d5a6d5e2336e4026ae
parente2ac3fed3b1c3281281eb530c220634030cd8084
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
doc/src/sgml/datatype.sgml