]> 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:51:00 +0000 (14:51 -0400)
commitf7eeb324e7b9fa948dfd55b55e9b20fa919e7f79
tree1f877067aa5fa5ac543fc740f2db50ce68562d38
parent698c7a3bc0d8b2d9677f47943cf20aaf864dabe5
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