aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_stat_statements/pg_stat_statements.c
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2013-12-07 17:00:26 -0800
committerJoe Conway <mail@joeconway.com>2013-12-07 17:00:26 -0800
commitd6ca510d9dbacceb3444f00fcfbba2c80dca4c8f (patch)
tree98a68fdfc64c029ee41460dee9196f1eb6b99323 /contrib/pg_stat_statements/pg_stat_statements.c
parent54aa5ef7f2dbe979843daf0c7a0d98f6709da4e6 (diff)
downloadpostgresql-d6ca510d9dbacceb3444f00fcfbba2c80dca4c8f.tar.gz
postgresql-d6ca510d9dbacceb3444f00fcfbba2c80dca4c8f.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 'contrib/pg_stat_statements/pg_stat_statements.c')
0 files changed, 0 insertions, 0 deletions