Re: Patch pg_is_in_backup()

Bernd Helmle <mailings@oopsware.de>

From: Bernd Helmle <mailings@oopsware.de>
To: Fujii Masao <masao.fujii@gmail.com>, Euler Taveira de Oliveira <euler@timbira.com>
Cc: Magnus Hagander <magnus@hagander.net>, Marti Raudsepp <marti@juffo.org>, Gilles Darold <gilles.darold@dalibo.com>, pgsql-hackers@postgresql.org
Date: 2012-02-03T09:10:11Z
Lists: pgsql-hackers

--On 3. Februar 2012 13:21:11 +0900 Fujii Masao <masao.fujii@gmail.com> wrote:

> It seems to be more user-friendly to introduce a view like pg_stat_backup
> rather than the function returning an array.

I like this idea. A use case i saw for monitoring backup_label's in the past, 
was mainly to discover a forgotten exclusive pg_stop_backup() (e.g. due to 
broken backup scripts). If the view would be able to distinguish both, 
exclusive and non-exclusive backups, this would be great.

-- 
Thanks

	Bernd