Re: Patch pg_is_in_backup()

From: Gilles Darold <gilles(dot)darold(at)dalibo(dot)com>
To: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Patch pg_is_in_backup()
Date: 2012-01-31 09:57:42
Message-ID: 4F27BB16.4060501@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message hubert depesz lubaczewski 2012-01-31 10:30:14 Re: [GENERAL] pg_dump -s dumps data?!
Previous Message Yeb Havinga 2012-01-31 09:36:05 Re: [v9.2] Add GUC sepgsql.client_label