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:50:58
Message-ID: 4F742272.7060907@2ndQuadrant.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Toby,

Il 29/03/12 10:46, Gabriele Bartolini ha scritto:
> 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).
My bad (thanks Carlo Ascani for pointing this out to me). Gilles Darold
just proposed such a patch and I looked into the commitfest website:
https://commitfest.postgresql.org/action/patch_view?id=803

I just added myself as a reviewer for PostgreSQL 9.3.

Cheers,
Gabriele

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albert 2012-03-29 09:43:02 Re: user get notification when postgresql database updated
Previous Message Albe Laurenz 2012-03-29 08:49:20 Re: PG Log