Re: Patch pg_is_in_backup() - Mailing list pgsql-hackers

From Gilles Darold
Subject Re: Patch pg_is_in_backup()
Date
Msg-id 4F27BB16.4060501@dalibo.com
Whole thread Raw
In response to Re: Patch pg_is_in_backup()  (Euler Taveira de Oliveira <euler@timbira.com>)
List pgsql-hackers
Le 30/01/2012 22:14, Euler Taveira de Oliveira a écrit :
> On 30-01-2012 15:33, Gilles Darold wrote:
>> Yesterday I was facing a little issue with a backup software (NetBackup)
>> that do not report error when a post backup script is run. The problem
>> is that this script execute pg_stop_backup() and if there's any failure
>> PostgreSQL keeps running in on-line backup mode. So the backup is not
>> completed and the next one too because the call to pg_start_backup()
>> will fail.
> I use something similar to your pl/PgSQL version and was about to propose
> something along these lines to core. +1 to include it. Please, add your patch
> to the next CF.

Ok, it has been added to next CF under the "System administration" new
topic I've just created. I'm not sure about that, so feel free to change
it or let me know.

Best regards,

--
Gilles Darold
http://dalibo.com - http://dalibo.org



pgsql-hackers by date:

Previous
From: Yeb Havinga
Date:
Subject: Re: [v9.2] Add GUC sepgsql.client_label
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: [GENERAL] pg_dump -s dumps data?!