Mention invalid null byte sequence
The Post Office <noreply@postgresql.org>
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: bugs-postgresql@antipoul.fr
Date: 2020-12-05T21:58:49Z
Lists: pgsql-docs
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/13/datatype-character.html Description: I discovered accidentally that PostgreSQL doesn't accept null byte in text type. It seems that Oracle does (see https://www.postgresql.org/message-id/de752e01-f36c-821e-9181-cfba78c0fbc8%40propaas.com) and SQLite does it too. So it should written in the character type that null byte are not accepted, it would make like easier to migrate to PostgreSQL :)
Commits
-
Doc: explain that the string types can't store \0 (ASCII NUL).
- c5ba66077054 13.2 landed
- b4a5d5406594 10.16 landed
- 9a2641911aea 14.0 landed
- 3410a9b57062 9.6.21 landed
- 10c601578a25 11.11 landed
- 101c8ae02cc0 12.6 landed
- 0921b86ca1e4 9.5.25 landed