[HACKERS] Addition of pg_dump --no-publications - Mailing list pgsql-hackers

From Michael Paquier
Subject [HACKERS] Addition of pg_dump --no-publications
Date
Msg-id CAB7nPqRrwQrnWx=JmiRp3ARPH+o3AaUCaJnNbqN9J5SK5T3wQg@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] Addition of pg_dump --no-publications
List pgsql-hackers
Hi all,

I imagine that pg_dump -s would be the basic operation that users
would do first before creating a subcription on a secondary node, but
what I find surprising is that publications are dumped by default. I
don't find confusing that those are actually included by default to be
consistent with the way subcriptions are handled, what I find
confusing is that there are no options to not dump them, and no
options to bypass their restore.

So, any opinions about having pg_dump/pg_restore --no-publications?
Thanks,
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] logical replication deranged sender
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] export import bytea from psql