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

From Euler Taveira de Oliveira
Subject Re: Patch pg_is_in_backup()
Date
Msg-id 4F2B470F.5070107@timbira.com
Whole thread Raw
In response to Re: Patch pg_is_in_backup()  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Patch pg_is_in_backup()
List pgsql-hackers
On 02-02-2012 20:06, Magnus Hagander wrote:
> If there is more than one concurrent backup running, which one do you
> return? The first one or the latest one? Or perhaps you need an
> interface thta can return them all...
> 
IMHO, pg_is_in_backup() should return true if one or more backup copies are
running. As about returning the backup timestamp, we could return an array
like array[['label_1', '2012-01-28 02:00:01 BRST'], ['label_2', '2012-01-28
03:40:34 BRST']] or NULL if none.


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


pgsql-hackers by date:

Previous
From: Joachim Wieland
Date:
Subject: Re: patch for parallel pg_dump
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Speed dblink using alternate libpq tuple storage