Thread: pgsql/src/bin/pg_dump pg_backup_archiver.c

pgsql/src/bin/pg_dump pg_backup_archiver.c

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/10/23 17:26:44

Modified files:
    src/bin/pg_dump: pg_backup_archiver.c

Log message:
    Forbid the switch combination --clean --create, which is pointless
    (why bother dropping individual objects in a just-created database?)
    as well as dangerous (as the code stands, the drops will be issued in
    the wrong database, namely the one you were originally connected to).