Deadlock debugging with node: log responsible queries
Sure. Just look into the PostgreSQL log file.

This information is not sent to the client for security reasons: otherwise, you could craft SQL statements that deadlock with other queries to see somebody else's statements, which might contain confidential data.