pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Simon Riggs <simon@2ndQuadrant.com>
To: Guillaume Smet <guillaume.smet@gmail.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Fujii Masao <masao.fujii@gmail.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: New trigger option of pg_standby
Date: Fri, 27 Mar 2009 13:09:24 +0000
Message-ID: <1238159364.16568.600.camel@ebony.2ndQuadrant> (raw )
In-Reply-To: <1d4e0c10903270519p556649bfr9b19f9156c43be4b@mail.gmail.com >
References: <3f0b79eb0903242329j12865d55s348f5c873a956e71@mail.gmail.com >
<1d4e0c10903242350i505a9f6bsa7ba347dc02f90b6@mail.gmail.com >
<3f0b79eb0903250144k453b3927mffa8b08678ed057b@mail.gmail.com >
<1d4e0c10903250155w34bd79dcvfab2ad5c95e56011@mail.gmail.com >
<49C9F255.EE98.0025.0@wicourts.gov >
<1d4e0c10903250848x4e067c86ue611c0c50f25e49d@mail.gmail.com >
<3f0b79eb0903251851v5936d6b4x49997ac8f04b98b9@mail.gmail.com >
<1d4e0c10903260032v767da1fdg6cf7cea86c64cc45@mail.gmail.com >
<1238064633.16568.420.camel@ebony.2ndQuadrant >
<49CCBEE0.1080307@gmx.net >
<1d4e0c10903270519p556649bfr9b19f9156c43be4b@mail.gmail.com >
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.com
PostgreSQL Training, Services and Support
view thread (127+ messages) latest in thread
Message-ID: <1238159364.16568.600.camel@ebony.2ndQuadrant>
Permalink: ../1238159364.16568.600.camel@ebony.2ndQuadrant/
Also on: postgresql.org/message-id/1238159364.16568.600.camel@ebony.2ndQuadrant
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: simon@2ndQuadrant.com, guillaume.smet@gmail.com, peter_e@gmx.net, masao.fujii@gmail.com, Kevin.Grittner@wicourts.gov
Subject: Re: New trigger option of pg_standby
In-Reply-To: <1238159364.16568.600.camel@ebony.2ndQuadrant>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox