Re: backup_label and server start

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: backup_label and server start
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C293D3DD@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: backup_label and server start  (Simon Riggs <simon@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] possible to create multivalued index from xpath() results in 8.3?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: wrong behavior using to_char() again