Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Peter Smith <smithpb2250(at)gmail(dot)com>, Shubham Khanna <khannashubham1197(at)gmail(dot)com>, Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>, "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.
Date: 2025-03-12 04:22:47
Message-ID: CAKFQuwZd5gu+4CAA0eijtTBUH09DjKgGy2==oisKT_hT2uCejQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tuesday, March 11, 2025, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:

> On Tue, Mar 11, 2025 at 6:02 AM David G. Johnston
> <david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> >
> > Can you briefly recap how this is different than the automatic behavior
> described in the existing Step 6?
> > "Drop publications on the target server that were replicated because
> they were created before the replication start location. It has no use on
> the subscriber."
> >
>
> These are the publications this tool has created on publisher to make
> standby a subscriber, but they have replicated to standby before the
> standby is converted to subscriber. As per my understanding, the patch
> gives an option to remove publications that are pre-existing (aka not
> created by this tool).
>

Thank you. I’ll factor that into my suggested changes patch for the
reference page.

David J.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2025-03-12 04:31:38 Re: SQL Property Graph Queries (SQL/PGQ)
Previous Message David G. Johnston 2025-03-12 04:13:11 Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.