Re: Feature Request: pg_replication_master() - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Feature Request: pg_replication_master()
Date
Msg-id 50DB5EE1.7060208@agliodbs.com
Whole thread Raw
In response to Re: Feature Request: pg_replication_master()  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Feature Request: pg_replication_master()  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
> There already are two ways to promote a server out of recovery. One is
> creating the trigger file. The other is "pg_ctl promote". (it uses a
> trigger file called $PGDATA/promote internally, but that's invisible to
> the user).

Right, I was thinking of the trigger file to put a server *into* 
replication.  That is, recovery.conf.


-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Switching timeline over streaming replication
Next
From: Andrew Dunstan
Date:
Subject: json api WIP patch