From 5f2ad57f4e07dc5d98bb528352c97a98b5ebae12 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 3 Mar 2008 17:11:23 +0000 Subject: [PATCH] Document that chr(0) is not supported, and why. --- doc/src/sgml/func.sgml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 340efac6556..64b99ea0b7c 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -1340,7 +1340,8 @@ Character with the given code. For UTF8 the argument is treated as a Unicode code point. For other multibyte encodings the argument must designate a strictly - ASCII character. + ASCII character. The NULL (0) character is not + allowed because text data types cannot reliably store such bytes. chr(65) A