Fix documentation of regular expression character-entry escapes.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 16 Sep 2015 18:50:12 +0000 (14:50 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 16 Sep 2015 18:50:12 +0000 (14:50 -0400)
commitd0f18cde7e40f1f6412bb35e8645888cd620682f
tree6ee112f7f237783b359805a7f0573fa8be1e124f
parent4d0fc1d54b465d4a40b3cf89908438533680e7f3
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.
doc/src/sgml/func.sgml