Skip to content

Commit dc41fd8

Browse files
committed
Document that chr(0) is not supported, and why.
1 parent 55f037f commit dc41fd8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.420 2008/02/26 15:32:30 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.421 2008/03/03 17:11:13 momjian Exp $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -1340,7 +1340,8 @@
13401340
Character with the given code. For <acronym>UTF8</acronym> the
13411341
argument is treated as a Unicode code point. For other multibyte
13421342
encodings the argument must designate a strictly
1343-
<acronym>ASCII</acronym> character.
1343+
<acronym>ASCII</acronym> character. The NULL (0) character is not
1344+
allowed because text data types cannot reliably store such bytes.
13441345
</entry>
13451346
<entry><literal>chr(65)</literal></entry>
13461347
<entry><literal>A</literal></entry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy