Re: Recovery bug

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Recovery bug
Дата
Msg-id AANLkTi=+id-5dezP56KS4wRufoULxKA7XpCBmnNaWerH@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Recovery bug  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-bugs
On Tue, Oct 19, 2010 at 5:26 AM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> The fundamental problem is that by definition, a base backup is completely
> indistinguishable from the data directory in the original server. Or is it?
> We recommend that you exclude the files under pg_xlog from the backup. So we
> could create a "pg_xlog/just_kidding" file along with backup_label. When
> starting recovery, if just_kidding exists, we can assume that we're doing
> crash recovery and ignore backup_label.

I think you'll find that it's completely impossible to make this work
reliably given all of the ways people may choose to make a backup.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Recovery bug
Следующее
От: Robert Haas
Дата:
Сообщение: Re: BUG #5705: btree_gist: Index on inet changes query result