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:52 +0000 (14:50 -0400)
commitdad7ea7e4dcc9ebdfb5480aa91cd1424135214e9
treed80ec9551dd6d55c4d86e82f9dc3bb3a18423489
parent06a1ada7935acce6c6b9f5569ca3da9260a50784
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