Sample Header Ad - 728x90

PostgreSQL: Finding last executed statement from an "idle in transaction timeout"

2 votes
2 answers
128 views
Is there any way to log or find last executed statement from a session that terminated because of idle in transaction timeout? We only have slow statement logging and that did not capture it and we don't want to enable all statement logging as well as this will have bad impact on performance.
Asked by goodfella (595 rep)
Apr 30, 2025, 03:45 AM
Last activity: May 2, 2025, 04:12 AM