From a2cce84349d9555e04d3f38343efeed4aa99f0d2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 30 May 2005 15:24:23 +0000 Subject: [PATCH] Update psql docs for recent octal-only string behavior. --- doc/src/sgml/ref/psql-ref.sgml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 34325b1454..55c160e91c 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ @@ -589,11 +589,8 @@ testdb=> single quote. To include a single quote into such an argument, precede it by a backslash. Anything contained in single quotes is furthermore subject to C-like substitutions for - \n (new line), \t (tab), - \digits, - \0digits, and - \0xdigits (the - character with the given decimal, octal, or hexadecimal code). + \n (new line), \t (tab), and + \digits (octal). @@ -2367,12 +2364,7 @@ testdb=> \set content '\'' `sed -e "s/'/\\\\\\'/g" < my_file.tx %digits - The character with the indicated numeric code is substituted. - If digits starts - with 0x the rest of the characters are - interpreted as hexadecimal; otherwise if the first digit is - 0 the digits are interpreted as octal; - otherwise the digits are read as a decimal number. + The character with the indicated octal code is substituted. -- 2.40.0