pgsql: Fix performance regression in dblink connection speed.

Поиск
Список
Период
Сортировка
От Joe Conway
Тема pgsql: Fix performance regression in dblink connection speed.
Дата
Msg-id E1VpSm4-00014y-3F@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/70165f25bce611ae08b7b69e8779fd6fbe3a36ee

Modified Files
--------------
contrib/dblink/dblink.c |    8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: pgsql: Fix performance regression in dblink connection speed.
Следующее
От: Joe Conway
Дата:
Сообщение: pgsql: Fix performance regression in dblink connection speed.