pgsql: pg_dump: Use current_database() instead of PQdb()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: pg_dump: Use current_database() instead of PQdb()
Дата
Msg-id E1fEat5-0002Nd-Uf@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_dump: Use current_database() instead of PQdb()

For querying pg_database about information about the database being
dumped, look up by using current_database() instead of the value
obtained from PQdb().  When using a connection proxy, the value from
PQdb() might not be the real name of the database.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1cd2445c9985719ea1bb9f644373481c8702af64

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 52 ++++++++++++++++++++---------------------------
1 file changed, 22 insertions(+), 30 deletions(-)


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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: Don't truncate away non-key attributes for leftmost downlinks.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix precedence problem in new Perl code.