Обсуждение: pgsql-server/src/bin/pg_dump pg_backup_archive ...

Поиск
Список
Период
Сортировка

pgsql-server/src/bin/pg_dump pg_backup_archive ...

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/09/23 20:31:52

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

Log message:
    Issue CREATE SCHEMA as the originally connecting user, with an
    AUTHORIZATION clause to specify the desired owner.  This allows a
    superuser to restore schemas owned by users without CREATE-SCHEMA
    permissions (ie, schemas originally created by a superuser using
    AUTHORIZATION).  --no-owner can be specified to suppress the
    AUTHORIZATION clause if need be.