]> granicus.if.org Git - postgresql/commit
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:38 +0000 (14:50 -0400)
commit16e985b47dfed5b370186ca984d7f380a9c127a9
tree94c29551e262ecc133b5326959633d45f82d30c5
parentbe136b2430e59b3aafd08c6df1ae8289e1a0922b
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