pg_dump: error: query failed: ERROR:  deadlock detected
DETAIL:  Process 10340 waits for AccessShareLock on relation 17813 of database 16384; blocked by process 10326.
Process 10326 waits for AccessExclusiveLock on relation 17373 of database 16384; blocked by process 10340.
HINT:  See server log for query details.
pg_dump: detail: Query was: LOCK TABLE public.document IN ACCESS SHARE MODE
