Add idle_session_timeout.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Jan 2021 23:28:42 +0000 (18:28 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Jan 2021 23:28:52 +0000 (18:28 -0500)
commit9877374bef76ef03923f6aa8b955f2dbcbe6c2c7
tree9255038d282a07de135530578d5b365a4aaa18dd
parent09cf1d52267644cdbdb734294012cf1228745aaa
Add idle_session_timeout.

This GUC variable works much like idle_in_transaction_session_timeout,
in that it kills sessions that have waited too long for a new client
query.  But it applies when we're not in a transaction, rather than
when we are.

Li Japin, reviewed by David Johnston and Hayato Kuroda, some
fixes by me

Discussion: http://postgr.es/m/763A0689-F189-459E-946F-F0EC4458980B@hotmail.com
doc/src/sgml/config.sgml
src/backend/storage/lmgr/proc.c
src/backend/tcop/postgres.c
src/backend/utils/errcodes.txt
src/backend/utils/init/globals.c
src/backend/utils/init/postinit.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/miscadmin.h
src/include/storage/proc.h
src/include/utils/timeout.h