diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-04-10 12:32:05 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-05-04 09:35:37 -0400 |
commit | 1cd2445c9985719ea1bb9f644373481c8702af64 (patch) | |
tree | 1f9d3aaf09951fcae03c4e3b5d0d0ef316fe3325 /src/backend/utils/adt/array_userfuncs.c | |
parent | 2a9e04f0a8ada12d4af4f095e4dbe164e2983bce (diff) | |
download | postgresql-1cd2445c9985719ea1bb9f644373481c8702af64.tar.gz postgresql-1cd2445c9985719ea1bb9f644373481c8702af64.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions