Thread: pgsql-server/ oc/src/sgml/ref/pg_dump.sgml oc/ ...

pgsql-server/ oc/src/sgml/ref/pg_dump.sgml oc/ ...

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/09/23 19:48:53

Modified files:
    doc/src/sgml/ref: pg_dump.sgml pg_restore.sgml
    src/bin/pg_dump: pg_backup.h pg_backup_archiver.c pg_dump.c
                     pg_dumpall.c pg_restore.c

Log message:
    pg_dump/pg_restore now always use SET SESSION AUTHORIZATION, not \connect,
    to control object ownership.  The use-set-session-authorization and
    no-reconnect switches are obsolete (still accepted on the command line,
    but they don't do anything).  This is a precursor to fixing handling
    of CREATE SCHEMA, which will be a separate commit.