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:30 +0000 (14:50 -0400)
commite2e46a9d1c22aa8a6ef7fd498a063fc7d4d300ef
tree2211b8e1b814af9cf783bb81bf25ea7f44710738
parent541ec18acf2f6c8df095e45af980f59b82475d1e
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