Dump COMMENT ON SCHEMA public.
Noah Misch <noah@leadboat.com>
Dump COMMENT ON SCHEMA public. As we do for other attributes of the public schema, omit the COMMENT command when its payload would match what initdb had installed. For dumps that do carry this new COMMENT command, non-superusers restoring them are likely to get an error. Reviewed by Asif Rehman. Discussion: https://postgr.es/m/ab48a34c-60f6-e388-502a-3e5fe46a2dae@postgresfriends.org
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_dump.c | modified | +66 −18 |
| src/bin/pg_dump/t/002_pg_dump.pl | modified | +12 −2 |
| src/include/catalog/pg_namespace.dat | modified | +1 −0 |
Discussion
- Dump public schema ownership & seclabels 14 messages · 2020-12-29 → 2021-06-29