From: Bernd Helmle <mailings@oopsware.de>
To: Gilles Darold <gilles.darold@dalibo.com>
To: pgsql-hackers@postgresql.org
Subject: Re: Patch pg_is_in_backup()
Date: Fri, 03 Feb 2012 00:00:41 +0100
Message-ID: <C729A6E0B91CEDC4ADEDCE6C@apophis.local> (raw)
In-Reply-To: <4F2ACC37.9030902@dalibo.com>
References: <4F26E291.9020605@dalibo.com>
<CABRT9RAo_xTOVdBAEDqzcP+QvoHa0SZW1Ud1p3vjmA5tJUnYLw@mail.gmail.com>
<4F2ACC37.9030902@dalibo.com>
--On 2. Februar 2012 18:47:35 +0100 Gilles Darold <gilles.darold@dalibo.com>
wrote:
> For now the internal function BackupInProgress() only return a boolean.
> I like the idea that pg_is_in_backup() just works as pg_is_in_recovery()
> do. I mean it doesn't return the timestamp of the recovery starting time
> but only true or false.
>
> Maybe we can have an other function that will return all information
> available in the backup_label file ?
I've seen customers using pg_read_file() to do exactly this. E.g. they are
searching for the START TIME value, if backup_label is present, to report the
backup start.
--
Thanks
Bernd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: mailings@oopsware.de, gilles.darold@dalibo.com
Subject: Re: Patch pg_is_in_backup()
In-Reply-To: <C729A6E0B91CEDC4ADEDCE6C@apophis.local>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox