Database locks

select * from pg_stat_activity where waiting='t';

Fix the lock:

select pg_cancel_backend(pid int)

Where "pid int" is the pid you find with pg_stat_activity.

Sources:

Comments

Comments powered by Disqus