aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSetOp.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-04-02 17:30:53 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-04-02 17:30:53 +0000
commitc26ffb1ead84adc79ef6cfbe125b300cccd1e2b7 (patch)
treeeb6c008580e6f5785ff850487f845bc1bc2fd87b /src/backend/executor/nodeSetOp.c
parent33e7eac37cf92d46b0f0523faca79075be0972f0 (diff)
downloadpostgresql-c26ffb1ead84adc79ef6cfbe125b300cccd1e2b7.tar.gz
postgresql-c26ffb1ead84adc79ef6cfbe125b300cccd1e2b7.zip
Fix SetClientEncoding() to maintain a cache of previously selected encoding
conversion functions. This allows transaction rollback to revert to a previous client_encoding setting without doing fresh catalog lookups. I believe that this explains and fixes the recent report of "failed to commit client_encoding" failures. This bug is present in 8.3.x, but it doesn't seem prudent to back-patch the fix, at least not till it's had some time for field testing in HEAD. In passing, remove SetDefaultClientEncoding(), which was used nowhere.
Diffstat (limited to 'src/backend/executor/nodeSetOp.c')
0 files changed, 0 insertions, 0 deletions