Re: recovery.signal not cleaned up when both signal files are present - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: recovery.signal not cleaned up when both signal files are present
Date
Msg-id CAHGQGwFrj5Qxizj48TR3=mqs0Lsmb72Q=zB_wMKSks+K15_e4w@mail.gmail.com
Whole thread
In response to Re: recovery.signal not cleaned up when both signal files are present  (David Steele <david@pgbackrest.org>)
Responses Re: recovery.signal not cleaned up when both signal files are present
List pgsql-hackers
On Fri, Feb 13, 2026 at 9:55 AM David Steele <david@pgbackrest.org> wrote:
>
> On 2/10/26 11:52, Michael Paquier wrote:
> > On Tue, Feb 10, 2026 at 12:26:36PM +0900, Fujii Masao wrote:
> >> +1 to apply this change only to the master branch. Patch attached.
> >
> > It looks like something we should have a test for, at least..
>
> +1 for a test.

Yeah, so I've added the test as suggested. The updated patch is attached.


> > +    /*
> > +     *
> > +     * If both signal files are present, standby signal file takes precedence.
> > +     * If neither is present then we won't enter archive recovery.
> > +     */
> >
> > This comment's format is incorrect.
>
> Other than the comment the patch looks good overall.

Fixed. Thanks all for the review!

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: Incremental View Maintenance, take 2
Next
From: Ashutosh Sharma
Date:
Subject: Re: [PATCH] Support automatic sequence replication