Re: Reading recovery.conf earlier - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Reading recovery.conf earlier
Date
Msg-id 1260228208.3665.78.camel@ebony
Whole thread Raw
In response to Re: Reading recovery.conf earlier  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Reading recovery.conf earlier  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, 2009-12-07 at 19:07 +0200, Heikki Linnakangas wrote:
> Simon Riggs wrote:
> > How does this sound?
> > 
> > At startup we will delete recovery.conf.running, if it exists.
> > At startup recovery.conf will be copied to recovery.conf.running, which
> > will be the file read by any additional processes that read
> > recovery.conf during this execution. The permissions on the file will
> > then be set to read-only.
> 
> Why not just follow the example of postresql.conf?

Much better idea.

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: bug: json format and auto_explain
Next
From: Bernd Helmle
Date:
Subject: Re: [patch] executor and slru dtrace probes