summaryrefslogtreecommitdiff
path: root/src/backend/regex/regc_lex.c
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
commit28489f1260d5055b02018d3286e0447804363707 (patch)
tree020d4ccc07c768573aa3b7881a988fd696fee3b5 /src/backend/regex/regc_lex.c
parent83589107b6cdf34340043239dd93d79b91ac2813 (diff)
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/backend/regex/regc_lex.c')
0 files changed, 0 insertions, 0 deletions