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

From: Toby Corkindale <toby(dot)corkindale(at)strategicdata(dot)com(dot)au>
To: Gabriele Bartolini <gabriele(dot)bartolini(at)2ndQuadrant(dot)it>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to tell if server is in backup mode?
Date: 2012-03-29 23:32:03
Message-ID: 4F74F0F3.3030906@strategicdata.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 29/03/12 19:50, Gabriele Bartolini wrote:
> 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.

Cool, good to know it's on its way :)

Thanks Gabriele,

Toby

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Angelico 2012-03-30 00:37:54 octet_length operator: what encoding?
Previous Message David Salisbury 2012-03-29 22:56:36 Re: default value returned from sql stmt