diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2024-02-16 03:36:38 +0200 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2024-02-16 03:36:38 +0200 |
commit | bf82f43790a675dd1b9522a7799357e61e7aa635 (patch) | |
tree | 07c459ce59aadc3b8157112635c736976685ae20 /src/backend/commands/tablecmds.c | |
parent | 51efe38cb92f4b15b68811bcce9ab878fbc71ea5 (diff) | |
download | postgresql-bf82f43790a675dd1b9522a7799357e61e7aa635.tar.gz postgresql-bf82f43790a675dd1b9522a7799357e61e7aa635.zip |
Followup fixes for transaction_timeout
Don't deal with transaction timeout in PostgresMain(). Instead, release
transaction timeout activated by StartTransaction() in
CommitTransaction()/AbortTransaction()/PrepareTransaction(). Deal with both
enabling and disabling transaction timeout in assign_transaction_timeout().
Also, remove potentially flaky timeouts-long isolation test, which has no
guarantees to pass on slow/busy machines.
Reported-by: Andres Freund
Discussion: https://postgr.es/m/20240215230856.pc6k57tqxt7fhldm%40awork3.anarazel.de
Diffstat (limited to 'src/backend/commands/tablecmds.c')
0 files changed, 0 insertions, 0 deletions