Re: backup_label during crash recovery: do we know how to solve it?

Поиск
Список
Период
Сортировка
От Daniel Farina
Тема Re: backup_label during crash recovery: do we know how to solve it?
Дата
Msg-id CACN56+MOG_OS2DQqYEw3HPDui2nZoHD9x=bhq=Fe1e7reQoH5A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: backup_label during crash recovery: do we know how to solve it?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: alternate psql file locations
Следующее
От: Daniel Farina
Дата:
Сообщение: Re: backup_label during crash recovery: do we know how to solve it?