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.