Błąd: ERROR: deadlock detected DETAIL: Process 266408 waits for ExclusiveLock on tuple (0,20) of relation 31499 of database 24510; blocked by process 266006. Process 266006 waits for ShareLock on transaction 18439034; blocked by process 265957. Process 265957 waits for ShareLock on transaction 18439163; blocked by process 266380. Process 266380 waits for ExclusiveLock on tuple (0,20) of relation 31499 of database 24510; blocked by process 266408. HINT: See server log for query details.