I am trying to find a way to figure out why a query i'm running is waiting. When running

select * from pg_stat_activity;

I can see my query is waiting, but there is no autovacuum or anything that seems to use the specific table i'm querying. Is there a way to find out what lock is the query waiting for?

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.