<class 'psycopg2.extensions.TransactionRollbackError'> deadlock detected DETAIL: Process 20969 waits for ShareLock on tuple (10,126) of relation 16935 of database 16386; blocked by process 20615. Process 20615 waits for ShareLock on transaction 19960600; blocked by process 20124. Process 20124 waits for ExclusiveLock on tuple (10,126) of relation 16935 of database 16386; blocked by process 20969. HINT: See server log for query details. CONTEXT: SQL statement "SELECT 1 FROM ONLY "public"."ads" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR SHARE OF x"Any suggestions?
-- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.fittraineronline.com - Fitness Personal Trainers Online http://www.warplydesigned.com