postgres=# select * from sessions where video_id = 'WLoMpg8A4WU';
Implementing transaction_timeout
Add a timeout for any transaction lasting too long.
session summary
Nik demonstrated a browser-based workflow for reviewing the proposed transaction_timeout patch: mirror the mailing-list attachment, open a preconfigured Gitpod workspace, compile Postgres, and test the feature. The timeout correctly canceled a long transaction. Andrey then moved timer startup from transaction begin to assignment of a real XID, exploring a narrower write-transaction/Xmin-horizon timeout. They concluded this changed the patch's intended semantics and needed separate user discussion; isolation tests also exposed timing complexity and Windows instability.
timecodes
- Why Postgres needs transaction_timeout
- Turning a mailing-list patch into a browser review
- Building patched Postgres in Gitpod
- Testing transaction_timeout from psql
- Virtual, real, and prepared transactions
- Starting the timer only after XID assignment
- Transaction duration versus Xmin-horizon protection
- Isolation-test failures and unresolved semantics