Skip site navigation (1) Skip section navigation (2)

Re: Patch pg_is_in_backup()

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Gilles Darold <gilles(dot)darold(at)dalibo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Patch pg_is_in_backup()
Date: 2012-01-30 21:14:05
Message-ID: 4F27081D.2050000@timbira.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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.


-- 
   Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

In response to

Responses

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2012-01-30 22:20:15
Subject: Re: [COMMITTERS] pgsql: Make group commit more effective.
Previous:From: Heikki LinnakangasDate: 2012-01-30 21:06:05
Subject: Re: [COMMITTERS] pgsql: Make group commit more effective.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group