Re: backup_label and server start - Mailing list pgsql-hackers

From Albe Laurenz
Subject Re: backup_label and server start
Date
Msg-id D960CB61B694CF459DCFB4B0128514C293D3DD@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: backup_label and server start  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
Simon Riggs wrote:
> That will make PITRs fail:
>
> 1. pg_start_backup()
> 2. backup
> 3. shutdown, removes backup_label
> 4. pg_stop_backup()
>
> step 4 will now fail because of a missing backup_label file.

Wait a minute:
pg_stop_backup() will also fail in the current setup,
because after recovery backup_label gets renamed
to backup_label.old.

So what do we lose if we remove (or rename) backup_label
on a clean server shutdown?

Yours,
Laurenz Albe


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] possible to create multivalued index from xpath() results in 8.3?
Next
From: Alvaro Herrera
Date:
Subject: Re: wrong behavior using to_char() again