| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Dump COMMENT ON SCHEMA public. |
| Date: | 2021-06-29 01:36:06 |
| Message-ID: | E1ly2fW-0002am-1M@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7ac10f692054e2690aa6f80efdd98bd283c94b10
Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 84 ++++++++++++++++++++++++++++--------
src/bin/pg_dump/t/002_pg_dump.pl | 14 +++++-
src/include/catalog/pg_namespace.dat | 1 +
3 files changed, 79 insertions(+), 20 deletions(-)
| 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 |