Glossary/Transactions/DeadlockDeadlockTransactionsA situation where two or more transactions each hold a lock the other needs, creating a circular dependency. PostgreSQL detects deadlocks automatically and aborts one transaction to break the cycle.Related termsLock← Back to glossary