pgsql: Dump COMMENT ON SCHEMA public. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Dump COMMENT ON SCHEMA public.
Date
Msg-id E1ly2fW-0002am-1M@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: doc: Improve PG14 release notes
Next
From: Michael Paquier
Date:
Subject: pgsql: Add support for LZ4 with compression of full-page writes in WAL