On Fri, Jan 28, 2011 at 08:44, Tatsuo Ishii <is...@postgresql.org> wrote: >>> I did s/failover/promote. Here is the updated patch. >> >> I rebased the patch to current git master. > > I'm thinking about implementing a function which does a promotion for > the standby. It will make pgpool lot easier to control the promotion > since it allow to fire the promotion operation (either creating a > trigger file or sending a signal) via SQL, not ssh etc.
I agree that having this available via SQL would be useful in a number of cases. pgpool or such being one, but also for example pgadmin. > If there's enough interest, I will propose such a function for next CF. Just as a reminder, remember that next CF means 9.2. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers