pgsql: Dump public schema ownership and security labels.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Dump public schema ownership and security labels.
Date: 2021-06-29 01:36:06
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Dump public schema ownership and security labels.

As a side effect, this corrects dumps of public schema ACLs in databases
where the DBA dropped and recreated that schema.

Reviewed by Asif Rehman.

Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a7a7be1f2fa6b9f0f48e69f12256d8f588af729b

Modified Files
--------------
src/bin/pg_dump/dumputils.c | 15 +++--
src/bin/pg_dump/dumputils.h | 1 +
src/bin/pg_dump/pg_backup_archiver.c | 21 ++++---
src/bin/pg_dump/pg_dump.c | 98 +++++++++++++++++++++--------
src/bin/pg_dump/pg_dump.h | 2 +
src/bin/pg_dump/t/002_pg_dump.pl | 75 ++++++++++++++++++++--
src/test/modules/test_pg_dump/t/001_base.pl | 8 +++
7 files changed, 177 insertions(+), 43 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-06-29 02:19:55 pgsql: Add support for LZ4 with compression of full-page writes in WAL
Previous Message Bruce Momjian 2021-06-29 00:59:14 pgsql: doc: Improve PG14 release notes