postgresql/src/backend/tcop
Tom Lane 5db4fdc224 Further second thoughts about idle_session_timeout patch.
On reflection, the order of operations in PostgresMain() is wrong.
These timeouts ought to be shut down before, not after, we do the
post-command-read CHECK_FOR_INTERRUPTS, to guarantee that any
timeout error will be detected there rather than at some ill-defined
later point (possibly after having wasted a lot of work).

This is really an error in the original idle_in_transaction_timeout
patch, so back-patch to 9.6 where that was introduced.
2021-01-07 11:45:09 -05:00
..
cmdtag.c Represent command completion tags as structs 2020-03-02 18:19:51 -03:00
dest.c Fix bogus completion tag usage in walsender 2020-09-16 21:16:25 -03:00
fastpath.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Represent command completion tags as structs 2020-03-02 18:19:51 -03:00
postgres.c Further second thoughts about idle_session_timeout patch. 2021-01-07 11:45:09 -05:00
pquery.c Represent command completion tags as structs 2020-03-02 18:19:51 -03:00
utility.c Further fixes for CREATE TABLE LIKE: cope with self-referential FKs. 2020-11-19 15:03:17 -05:00