Обсуждение: pgsql: Fix documentation of regular expression character-entry escapes.

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(-)