Dump public schema ownership and security labels.
Noah Misch <noah@leadboat.com>
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/20201229134924.GA1431748@rfd.leadboat.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/dumputils.c | modified | +10 −5 |
| src/bin/pg_dump/dumputils.h | modified | +1 −0 |
| src/bin/pg_dump/pg_backup_archiver.c | modified | +14 −7 |
| src/bin/pg_dump/pg_dump.c | modified | +71 −27 |
| src/bin/pg_dump/pg_dump.h | modified | +2 −0 |
| src/bin/pg_dump/t/002_pg_dump.pl | modified | +71 −4 |
| src/test/modules/test_pg_dump/t/001_base.pl | modified | +8 −0 |
Discussion
- Dump public schema ownership & seclabels 14 messages · 2020-12-29 → 2021-06-29