Hi Toshihiro, Le 30/03/2011 12:54, Toshihiro Kitagawa a écrit : > Hi, > > How about the attached prototype patch, about the solution of > find_primary_node() problem? > > This patch is simple design and small. > > - Primary node is "SELECT pg_is_in_recovery()" = false, > Standby node is "SELECT pg_is_in_recovery()" = true. > - Wait till a primary node appears when failover occurred. > - Use recovery_timeout for timeout. > > Any feedback will be appreciated.
Thanks for the work Toshihiro, I've not tested the patch but after reading it I think this is exactly what's we need to have the follow master and promote node patches fully working. Regards, -- Gilles Darold http://dalibo.com - http://dalibo.org _______________________________________________ Pgpool-hackers mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-hackers
