pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Dump COMMENT ON SCHEMA public.
Date: Tue, 29 Jun 2021 01:36:06 +0000
Message-ID: <E1ly2fW-0002am-1M@gemulon.postgresql.org> (raw)

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



Message-ID: <E1ly2fW-0002am-1M@gemulon.postgresql.org>
Permalink:  ../E1ly2fW-0002am-1M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ly2fW-0002am-1M@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Dump COMMENT ON SCHEMA public.
  In-Reply-To: <E1ly2fW-0002am-1M@gemulon.postgresql.org>
  References: <E1ly2fW-0002am-1M@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox