标题执行以下查询来查看所有正在进行的锁定事务和持有的锁定对象: SELECT pid, relname, transactionid, mode, granted FROM pg_locks JOINpg_stat_user_table...