Re: New trigger option of pg_standby
От | Simon Riggs |
---|---|
Тема | Re: New trigger option of pg_standby |
Дата | |
Msg-id | 1238159364.16568.600.camel@ebony.2ndQuadrant обсуждение исходный текст |
Ответ на | Re: New trigger option of pg_standby (Guillaume Smet <guillaume.smet@gmail.com>) |
Список | pgsql-hackers |
On Fri, 2009-03-27 at 13:19 +0100, Guillaume Smet wrote: > On Fri, Mar 27, 2009 at 12:56 PM, Peter Eisentraut <peter_e@gmx.net> wrote: > > Simon Riggs wrote: > >> > >> If we go with this, I would suggest we make *neither* the default by > >> removing -t, and adopting two new options: something like -f == fast > >> failover, -p == patient failover. > > > > -m smart|fast|immediate :-) > > The advantage of having 2 options (or the ability to put a string > value in the trigger file) is that you can choose the behaviour when > you need to trigger it (you just have to use the 2 options with 2 > different filenames). I don't think it's the case with your proposal. Yes, sorry. I meant we should use the naming Peter suggests. So we would have two triggers, but call them fast and smart, rather than fast and patient. -- Simon Riggs www.2ndQuadrant.comPostgreSQL Training, Services and Support
В списке pgsql-hackers по дате отправления: