Patch pg_start_backup() to ERROR if archiving is not defined

Поиск
Список
Период
Сортировка
Искать

Patch pg_start_backup() to ERROR if archiving is not defined

От:
Gavin Sherry <swm@linuxworld.com.au>
Дата:
Вложения:
Hi all,

Attached is a patch which checks early on in pg_start_back() that
archive_command is defined and if not generates an error. This seemed like
a reason foot gun prevention measure.

Gavin

Re: Patch pg_start_backup() to ERROR if archiving is not

От:
Neil Conway <neilc@samurai.com>
Дата:
On Sun, 2004-11-14 at 23:05 +1100, Gavin Sherry wrote:
> Attached is a patch which checks early on in pg_start_back() that
> archive_command is defined and if not generates an error. This seemed like
> a reason foot gun prevention measure.

I'll apply this before end of day today.

-Neil


Re: Patch pg_start_backup() to ERROR if archiving is not

От:
Neil Conway <neilc@samurai.com>
Дата:
On Sun, 2004-11-14 at 23:05 +1100, Gavin Sherry wrote:
> Attached is a patch which checks early on in pg_start_back() that
> archive_command is defined and if not generates an error.

Applied, with some tweaks.

Thanks.

-Neil


FAQ