Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility. - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.
Date
Msg-id CAA4eK1Lxkq7KhCh+S9H05uWJyBBSZBmb9jHYkuO2P+ZmPZvxTw@mail.gmail.com
Whole thread Raw
In response to Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.
List pgsql-hackers
On Wed, Mar 12, 2025 at 9:43 AM David G. Johnston
<david.g.johnston@gmail.com> wrote:
>
> I’m honestly question how much value this provides - no improvement here seems like a viable choice.  Let them issue
thedrop commands they desire manually.  This doesn’t feel like something one should/would automate. 
>

There is a good chance of mistakenly dropping the required objects
manually after the subscriber is converted. One can mistakenly drop
the required publication unless they have some strict rule to do it
immediately after the tool has converted standby to subscriber.
Providing the commands via file is a way, but as a user, I would
prefer to get the things done automatically via a tool instead of me
doing it afterward unless there is no other way..

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: SQL Property Graph Queries (SQL/PGQ)
Next
From: Dilip Kumar
Date:
Subject: Re: Conflict detection for multiple_unique_conflicts in logical replication