pgsql: Fix documentation of regular expression character-entry escapes. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix documentation of regular expression character-entry escapes.
Date
Msg-id E1ZcHne-0000wn-9T@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix documentation of regular expression character-entry escapes.

The docs claimed that \uhhhh would be interpreted as a Unicode value
regardless of the database encoding, but it's never been implemented
that way: \uhhhh and \xhhhh actually mean exactly the same thing, namely
the character that pg_mb2wchar translates to 0xhhhh.  Moreover we were
falsely dismissive of the usefulness of Unicode code points above FFFF.
Fix that.

It's been like this for ages, so back-patch to all supported branches.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d97bdb082690980a78ca6e2bbe0c6d863caef32f

Modified Files
--------------
doc/src/sgml/func.sgml |   21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix documentation of regular expression character-entry escapes.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix documentation of regular expression character-entry escapes.