postgresql/src/backend/tcop
Tom Lane b8d0cda533 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:23 -05:00
..
Makefile Represent command completion tags as structs 2020-03-02 18:19:51 -03:00
cmdtag.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
dest.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
fastpath.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
postgres.c Further second thoughts about idle_session_timeout patch. 2021-01-07 11:45:23 -05:00
pquery.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
utility.c Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00