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

From Tom Lane
Subject Re: backup_label and server start
Date
Msg-id 25388.1195573726@sss.pgh.pa.us
Whole thread Raw
In response to backup_label and server start  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Responses Re: backup_label and server start  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List pgsql-hackers
"Albe Laurenz" <laurenz.albe@wien.gv.at> writes:
> wouldn't it be a good thing
> for the startup process to ignore (and rename) the backup_label
> file if no recovery.conf is present?

No, it certainly wouldn't.

I don't see why we should simplify the bizarre case you're talking about
at the price of putting land mines under the feet of people who are
actually trying to do a restore.  It hasn't lost any data for you,
and it gave you a correct HINT, so I don't have a problem with the
current behavior.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Albe Laurenz"
Date:
Subject: backup_label and server start
Next
From: Simon Riggs
Date:
Subject: Re: backup_label and server start