Re: pg_createsubscriber - more logging to say if there are no pubs to drop - Mailing list pgsql-hackers

From Peter Smith
Subject Re: pg_createsubscriber - more logging to say if there are no pubs to drop
Date
Msg-id CAHut+Pu2sp3ERnX=PP7rdLXL2KPz_dcd_2OmLXynEMBtTtVvAA@mail.gmail.com
Whole thread Raw
In response to Re: pg_createsubscriber - more logging to say if there are no pubs to drop  (Masahiko Sawada <sawada.mshk@gmail.com>)
List pgsql-hackers
On Wed, Oct 15, 2025 at 5:49 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
>
> On Tue, Oct 14, 2025 at 10:41 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
> >
> > On Wed, Oct 8, 2025 at 6:34 PM Peter Smith <smithpb2250@gmail.com> wrote:
> > >
...
> > >
> > > Here is a small patch to remove that doubt. Now, if there is nothing
> > > found, the logging would look like:
> > >
> > > ----------
> > > pg_createsubscriber: dropping all existing publications in database "db2"
> > > pg_createsubscriber: no publications found
> > > ----------
> > >
> > > Thoughts?
> >
> > Thank you for the patch!
> >
> > It sounds like a reasonable improvement. I'll push the patch, barring
> > any objections.
>
> Done.
>

Thanks for pushing!

======
Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Philip Alger
Date:
Subject: Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement
Next
From: Tom Lane
Date:
Subject: Re: Optimize LISTEN/NOTIFY