Re: unite recovery.conf and postgresql.conf
Josh Berkus <josh@agliodbs.com>
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-hackers@postgresql.org
Date: 2011-12-14T21:57:50Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Restructure error handling in reading of postgresql.conf.
- d56b3afc0376 9.2.0 cited
On 12/14/11 1:16 PM, Greg Smith wrote: > > -Creating a standby.enabled file in the directory that houses the > postgresql.conf (same logic as "include" uses to locate things) puts the > system into recovery mode. That feature needs to save some state, and > making those decisions based on existence of a file is already a thing > we do. Rather than emulating the rename to recovery.done that happens > now, the server can just delete it, to keep from incorrectly returning > to a state it's exited. A UI along the lines of the promote one, > allowing "pg_ctl standby", should fall out of here. I think this is > enough that people who just want to use replication features need never > hear about this file at all, at least during the important to simplify > first run through. How will things work for PITR? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com