Обсуждение: 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_0_STABLE

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

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