• Peter Eisentraut's avatar
    pg_dump: Use current_database() instead of PQdb() · 1cd2445c
    Peter Eisentraut authored
    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.
    1cd2445c
pg_dump.c 542 KB