News for hackers. Stuff that matters.
Re:Show HN: Postgres Query Lock Explainer by dboreham on Wednesday May 17, 2023 @08:10PM (#35982785)
The deadlocking pids will be logged and then if you have/had query logging turned on you can see what the pids were executing prior to that. Tracing back to the application involves using the available logged information: client IP, client name (possibly just the default from the pq driver, so the same everywhere), content of the actual query.

There are no comments on this comment yet.