On 27 March 2013 18:15, Fujii Masao <masao.fu...@gmail.com> wrote: > This patch breaks also pg_ctl promote because it always checks the existence > of > $PGDATA/recovery.conf.
You're right. It does. Good catch. That also suggest a solution: create a status file called $PGDATA/recovery_in_progress which would then allow pg_ctl and everybody else to be able to see that the server is currently in recovery. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers