Re: pg_stop_backup does not complete

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pg_stop_backup does not complete
Дата
Msg-id 603c8f071002231214s63e2d918m4d1d9406765e5a88@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_stop_backup does not complete  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
On Tue, Feb 23, 2010 at 3:09 PM, Joshua D. Drake <jd@commandprompt.com> wrote:
> On Tue, 2010-02-23 at 14:49 -0500, Robert Haas wrote:
>
>> > If I issue a shutdown, PostgreSQL should do whatever it needs to do to
>> > shutdown; including issuing a pg_stop_backup.
>>
>> Maybe.  But for sure, if it doesn't, and instead tells the user to
>> issue pg_stop_backup(), then pg_stop_backup() had better WORK when the
>> user tries to execute it.
>
> Right.
>
>>   I gather that the problem is that it has to
>> finish all that outstanding archiving before shutting down, in which
>> case Kevin's suggestion of having a command to abort the backup seems
>> reasonable.  I might call it pg_abort_backup() rather than
>> pg_fail_backup(), but...
>>
>
> But...?

But it seems like a good idea other than that.

...Robert


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: pg_stop_backup does not complete
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: phypot - Pygmy Hippotause ?