How to tell if server is in backup mode?

From: Toby Corkindale <toby(dot)corkindale(at)strategicdata(dot)com(dot)au>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: How to tell if server is in backup mode?
Date: 2012-03-28 07:14:18
Message-ID: 4F72BA4A.9020708@strategicdata.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I can start and stop backup mode with pg_start_backup() and
pg_stop_backup().

Is there any function like pg_is_in_backup() to tell if the mode has
been enabled?

(I can't find anything in the 9.1 docs)

Cheers,
Toby

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2012-03-28 07:35:11 Re: Multiple Slave Failover with PITR
Previous Message Greg Jaskiewicz 2012-03-28 06:50:23 Re: create one function to let other user execute vacuum command. got such an error.