Re: Use of backup_label not noted in log - Mailing list pgsql-hackers

From David Steele
Subject Re: Use of backup_label not noted in log
Date
Msg-id 8b2a80c1-c41a-4168-adec-7006eab4348c@pgmasters.net
Whole thread Raw
In response to Re: Use of backup_label not noted in log  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Use of backup_label not noted in log
List pgsql-hackers
On 1/28/24 20:09, Michael Paquier wrote:
> On Fri, Jan 26, 2024 at 12:08:46PM +0900, Michael Paquier wrote:
>> Well, I'm OK with this consensus on 1d35f705e if folks think this is
>> useful enough for all the stable branches.
> 
> I have done that down to REL_15_STABLE for now as this is able to
> apply cleanly there.  Older branches have a lack of information here,
> actually, because read_backup_label() does not return the TLI
> retrieved from the start WAL segment, so we don't have the whole
> package of information.

I took a pass at this on PG14 and things definitely look a lot different 
back there. Not only is the timeline missing, but there are two sections 
of code for ending a backup, one for standby backup and one for primary.

I'm satisfied with the back patches as they stand, unless anyone else 
wants to have a look.

Regards,
-David



pgsql-hackers by date:

Previous
From: Junwang Zhao
Date:
Subject: Re: UUID v7
Next
From: Daniel Gustafsson
Date:
Subject: Re: Wrong buffer limits check