Re: [HACKERS] PATCH: Make pg_stop_backup() archive wait optional

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] PATCH: Make pg_stop_backup() archive wait optional
Дата
Msg-id CAB7nPqRf6LnNN3TZZGi5DJ8sTWE5XekBSAj7E0CqsJ1nDGhiEA@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] PATCH: Make pg_stop_backup() archive wait optional  (David Steele <david@pgmasters.net>)
Ответы Re: [HACKERS] PATCH: Make pg_stop_backup() archive wait optional  (David Steele <david@pgmasters.net>)
Список pgsql-hackers
On Tue, Feb 28, 2017 at 9:25 AM, David Steele <david@pgmasters.net> wrote:
> I also marked the pg_stop_* functions as parallel restricted, the same
> as pg_start_backup().  Previously they were parallel safe which I don't
> believe is accurate for the non-exclusive version at the very least,
> since it is tied to a particular backend.

Yeah, those should really be parallel restricted. For the exclusive
version, having the function run in parallel would also lead to errors
per the presence/lack of backup_label file.
-- 
Michael



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

Предыдущее
От: David Steele
Дата:
Сообщение: Re: [HACKERS] Creation of "Future" commit fest, named 2017-07
Следующее
От: David Steele
Дата:
Сообщение: Re: [HACKERS] PATCH: Make pg_stop_backup() archive wait optional