Re: Terminate the idle sessions
Japin Li <japinli@hotmail.com>
From: japin <japinli@hotmail.com>
To: "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Cc: "David G. Johnston" <david.g.johnston@gmail.com>,
Kyotaro Horiguchi <horikyota.ntt@gmail.com>,
Thomas Munro <thomas.munro@gmail.com>,
"bharath.rupireddyforpostgres@gmail.com"
<bharath.rupireddyforpostgres@gmail.com>,
"pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2020-11-19T09:35:05Z
Lists: pgsql-hackers
Attachments
- v8-0001-Allow-terminating-the-idle-sessions.patch (text/x-patch)
hi, Kuroda On 11/19/20 4:32 PM, kuroda.hayato@fujitsu.com wrote: > Dear Li, > >> Thanks for your suggestion. Attached! > I prefer your comments:-). > > I think this patch is mostly good. > I looked whole the codes again and I found the following comment in the PostgresMain(): > > ```c > /* > * (5) turn off the idle-in-transaction timeout > */ > ``` > > Please mention about idle-session timeout and check another comment. Thanks! Add the comment for idle-session timeout. -- Best regards Japin Li
Commits
-
Rethink SQLSTATE code for ERRCODE_IDLE_SESSION_TIMEOUT.
- 4edf96846a02 14.0 landed
-
Improve commentary in timeout.c.
- 9486e7b666fd 14.0 landed
-
Add idle_session_timeout.
- 9877374bef76 14.0 landed
-
Improve timeout.c's handling of repeated timeout set/cancel.
- 09cf1d522676 14.0 landed