Chris Cawley <cj_cawley@xxxxxxxxx> writes: > It's been like that for several days already. Really? Rollback is O(1) in Postgres. I could possibly believe that it's blocked on a lock, but even that would be a bug, because transaction abort should never try to take any new locks. A perhaps-more-plausible theory is that you've enabled synchronous commit but your replica is failing to ack the transmission of the abort's WAL record. What are you looking at exactly? regards, tom lane