diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-09-21 22:22:07 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-09-21 22:22:07 +0000 |
commit | 02faeb4ac829910ff1183ab3e6a94f049d3fac35 (patch) | |
tree | 9300989ae4552062d5f9aafccd66522bcfee8fba /doc/src/sgml/syntax.sgml | |
parent | c6bc0feb007e42a3e81aaa95c3afc9592b4e2707 (diff) |
Surrogate pair support for U& string and identifier syntax
This is mainly to make the functionality consistent with the proposed \u
escape syntax.
Diffstat (limited to 'doc/src/sgml/syntax.sgml')
-rw-r--r-- | doc/src/sgml/syntax.sgml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index c2dd31b98d3..c805e2e7141 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.134 2009/08/27 20:08:02 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.135 2009/09/21 22:22:07 petere Exp $ --> <chapter id="sql-syntax"> <title>SQL Syntax</title> @@ -238,6 +238,10 @@ U&"d!0061t!+000061" UESCAPE '!' The Unicode escape syntax works only when the server encoding is UTF8. When other server encodings are used, only code points in the ASCII range (up to <literal>\007F</literal>) can be specified. + Both the 4-digit and the 6-digit form can be used to specify + UTF-16 surrogate pairs to compose characters with code points + larger than <literal>\FFFF</literal> (although the availability of + the 6-digit form technically makes this unnecessary). </para> <para> @@ -497,6 +501,10 @@ U&'d!0061t!+000061' UESCAPE '!' UTF8. When other server encodings are used, only code points in the ASCII range (up to <literal>\007F</literal>) can be specified. + Both the 4-digit and the 6-digit form can be used to specify + UTF-16 surrogate pairs to compose characters with code points + larger than <literal>\FFFF</literal> (although the availability + of the 6-digit form technically makes this unnecessary). </para> <para> |