Waiting for 9.1 – pg_ctl promote

On 16th of February, , Robert Haas committed patch:

pg_ctl promote
 
Fujii Masao, reviewed by Robert Haas, Stephen Frost, and Magnus Hagander.

Commit log is very short, functionality is not really new, but the important thing is that we're getting support for PostgreSQL replication in more “administrative" places, which makes the whole process more streamlined.

Basically this commit adds another way of finishing streaming. Instead of using trigger file, you can now simply do

pg_ctl -D /DATA promote

to change your SR-Slave into standalone Pg.

2 thoughts on “Waiting for 9.1 – pg_ctl promote”

  1. Tangential to the topic, do all slaves still need to be rebuilt when a promotion occurs?

Comments are closed.