diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index d805439d83..cc50815059 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -1,5 +1,5 @@ @@ -1021,7 +1021,7 @@ SELECT b, char_length(b) FROM test2; 39 single quote - '\\'' or '\\047' + '\'' or '\\047' select '\''::bytea; ' @@ -1126,7 +1126,7 @@ SELECT b, char_length(b) FROM test2; A single quote is a bit different in that it must be input as - '\'' (or '\\134'), + '\'' (or '\\047'), not as '\\''. This is because, while the literal parser interprets the single quote as a special character, and will consume the single backslash, the