Re: backup_label during crash recovery: do we know how to solve it? - Mailing list pgsql-hackers

From Daniel Farina
Subject Re: backup_label during crash recovery: do we know how to solve it?
Date
Msg-id CACN56+MOG_OS2DQqYEw3HPDui2nZoHD9x=bhq=Fe1e7reQoH5A@mail.gmail.com
Whole thread Raw
In response to Re: backup_label during crash recovery: do we know how to solve it?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Sun, Jan 1, 2012 at 5:18 AM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> That's awfully complicated. If we're going to require co-operation from the
> backup/archiving software, we might as well just change the procedure so
> that backup_label is not stored in the data directory, but returned by
> pg_start/stop_backup(), and the caller is responsible for placing it in the
> backed up copy of the data directory (or provide a new version of them to
> retain backwards compatibility). That would be a lot simpler.

That's also entirely acceptable.  In fact, I like it.

+1

--
fdr


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: alternate psql file locations
Next
From: Daniel Farina
Date:
Subject: Re: backup_label during crash recovery: do we know how to solve it?