Re: idle_in_transaction_timeout - Mailing list pgsql-hackers

From Andres Freund
Subject Re: idle_in_transaction_timeout
Date
Msg-id 20140622174743.GN30721@alap3.anarazel.de
Whole thread Raw
In response to Re: idle_in_transaction_timeout  (Kevin Grittner <kgrittn@ymail.com>)
Responses Re: idle_in_transaction_timeout  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: idle_in_transaction_timeout  (Kevin Grittner <kgrittn@ymail.com>)
Re: idle_in_transaction_timeout  (Vik Fearing <vik.fearing@dalibo.com>)
List pgsql-hackers
On 2014-06-22 09:27:24 -0700, Kevin Grittner wrote:
> Andres Freund <andres@2ndquadrant.com> wrote:
> 
> > The idea with the GUC name is that if we ever get support for
> > cancelling transactions we can name that
> > idle_in_transaction_transaction_timeout?
> > That seems a bit awkward...
> 
> No, the argument was that for all the other *_timeout settings what
> came before _timeout was the thing that was being terminated.  I
> think there were some votes in favor of the name on that basis, and
> none against.  Feel free to give your reasons for supporting some
> other name.

My reasons for not liking the current GUC name are hinted at above. I think
we'll want a version of this that just fails the transaction once we
have the infrastructure. So we should choose a name that allows for
a complimentary GUC.
CAKFQuwZCg2uur=tUdz_C2aUwBo87ofFGhn9Mx_HZ4QD-b8fe2Q@mail.gmail.com
suggested
On 2014-06-19 10:39:48 -0700, David G Johnston wrote:
> "idle_in_transaction_timeout=10s"
> "idle_in_transaction_target=session|transaction"

but I don't like that much. Not sure what'd be good, the best I
currently can come up with is:
idle_in_transaction_termination_timeout =
idle_in_transaction_cancellation_timeout =

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: idle_in_transaction_timeout
Next
From: Pavel Stehule
Date:
Subject: Re: idle_in_transaction_timeout