On Mon, Jan 31, 2011 at 12:31 PM, Itagaki Takahiro <itagaki.takah...@gmail.com> wrote: > The C function needs to create a trigger file in $PGDATA/promote > before sending signals, no?
No. At least in the current patch, just receipt of SIGUSR2 causes the startup process to end a recovery. The startup process doesn't check the existence of $PGDATA/promote, though postmaster does. > system("pg_ctl promote") seems > the easiest way if you use an external module. Yeah, that's true. Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers