aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-08-14 20:23:09 -0400
committerNoah Misch <noah@leadboat.com>2015-08-14 20:23:34 -0400
commit92516bf1954bd53914f0423bd2817487bd367596 (patch)
tree2c961f6d70de75abc1a909441be0142b7525d433 /src/backend/access/gist/gistproc.c
parentb435f191abbdd09bb97bc386ffe71d24d6934f57 (diff)
downloadpostgresql-92516bf1954bd53914f0423bd2817487bd367596.tar.gz
postgresql-92516bf1954bd53914f0423bd2817487bd367596.zip
Restore old pgwin32_message_to_UTF16() behavior outside transactions.
Commit 49c817eab78c6f0ce8c3bf46766b73d6cf3190b7 replaced with a hard error the dubious pg_do_encoding_conversion() behavior when outside a transaction. Reintroduce the historic soft failure locally within pgwin32_message_to_UTF16(). This fixes errors when writing messages in less-common encodings to the Windows event log or console. Back-patch to 9.4, where the aforementioned commit first appeared. Per bug #13427 from Dmitri Bourlatchkov.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions