On Jan11, 2014, at 01:48 , Joshua D. Drake <j...@commandprompt.com> wrote: > On 01/10/2014 04:38 PM, Stephen Frost wrote: >> Adrian, >> >> * Adrian Klaver (adrian.kla...@gmail.com) wrote: >>> On 01/10/2014 04:25 PM, Stephen Frost wrote: >>>> * Adrian Klaver (adrian.kla...@gmail.com) wrote: >>>>> A) Change the existing sync mode to allow the master and standby >>>>> fall out of sync should a standby fall over. >>>> >>>> I'm not sure that anyone is argueing for this.. >>> >>> Looks like here, unless I am really missing the point: >> >> Elsewhere in the thread, JD agreed that having it as an independent >> option was fine. > > Yes. I am fine with an independent option.
Hm, I was about to suggest that you can set statement_timeout before doing COMMIT to limit the amount of time you want to wait for the standby to respond. Interestingly, however, that doesn't seem to work, which is weird, since AFAICS statement_timeout simply generates a query cancel requester after the timeout has elapsed, and cancelling the COMMIT with Ctrl-C in psql *does* work. I'm quite probably missing something, but what? best regards, Florian Pflug -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers