Created
July 1, 2016 20:52
-
-
Save chriskacerguis/de6464f83b84c308d4b1d16f14ccf95c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT l.*,a.* | |
FROM pg_locks l | |
JOIN pg_stat_activity a USING (pid) | |
WHERE NOT granted; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment