PostgreSQL Lockup vs Stale Connection: How to Tell Them Apart Two failure modes produce the same "database is locked up" alert in PostgreSQL. Here is how to tell a true lockup from a stale connection, and fix the right one. Read More