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

Re: How to tell if server is in backup mode?

From: Gabriele Bartolini <gabriele(dot)bartolini(at)2ndQuadrant(dot)it>
To: Toby Corkindale <toby(dot)corkindale(at)strategicdata(dot)com(dot)au>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to tell if server is in backup mode?
Date: 2012-03-29 08:46:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Hi Toby,

Il 28/03/12 09:14, Toby Corkindale ha scritto:
> Is there any function like pg_is_in_backup() to tell if the mode has 
> been enabled?

Currently, there's no such a function. In general we simply check if a 
'backup_label' file exists in PGDATA. However, it could be a good idea 
to add it as admin function (I will have a think about it and possibly 
come up with a patch).


  Gabriele Bartolini - 2ndQuadrant Italia
  PostgreSQL Training, Services and Support
  gabriele(dot)bartolini(at)2ndQuadrant(dot)it |

In response to


pgsql-general by date

Next:From: Albe LaurenzDate: 2012-03-29 08:49:20
Subject: Re: PG Log
Previous:From: Albe LaurenzDate: 2012-03-29 08:24:28
Subject: Re: Query regarding submission on To Do item for psql client "psql : Allow processing of multiple -f (file) options "

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