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(-)