Frank Miles <fpm@xxxxxxxxxxxxxxxx> writes: > ... By the way, in this forced condition, the rows that show granted='f' > have blank relname, relation, and database fields :( Those would be locks on transaction IDs, which is what you see in pg_locks when someone is blocked on a row-level lock. (For reasons of implementation efficiency, we don't record individual row locks in a way that lets pg_locks see them :-() This is definitely theorizing in advance of the evidence, but I'm betting that your problem is due to locking of rows referenced by foreign keys. Did you recently add some foreign key constraints to your database? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly