aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-01-07 11:45:09 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-01-07 11:45:09 -0500
commitf2a69e90472f9a78b1d57bcfda4f2cb15ede2ab2 (patch)
treef89ca0bc6c024ee36b96bb6b93e48e9ff0d84acd /src/tutorial
parent820f882b3b4aa3c5f521cc1c83737a4958eb3e3f (diff)
downloadpostgresql-f2a69e90472f9a78b1d57bcfda4f2cb15ede2ab2.tar.gz
postgresql-f2a69e90472f9a78b1d57bcfda4f2cb15ede2ab2.zip
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.
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions