aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2013-12-07 16:59:16 -0800
committerJoe Conway <mail@joeconway.com>2013-12-07 16:59:16 -0800
commit70165f25bce611ae08b7b69e8779fd6fbe3a36ee (patch)
tree7988de22ae9cb1a47a5684a0233873dbc483b61c /src/backend/tcop/postgres.c
parentad910ccdc70da627f51f9f81cd095f3ac2ffe2e5 (diff)
downloadpostgresql-70165f25bce611ae08b7b69e8779fd6fbe3a36ee.tar.gz
postgresql-70165f25bce611ae08b7b69e8779fd6fbe3a36ee.zip
Fix performance regression in dblink connection speed.
Previous commit e5de601267d98c5d60df6de8d436685c7105d149 modified dblink to ensure client encoding matched the server. However the added PQsetClientEncoding() call added significant overhead. Restore original performance in the common case where client encoding already matches server encoding by doing nothing in that case. Applies to all active branches. Issue reported and work sponsored by Zonar Systems.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions