root/trunk/curo/s/locks.sql

Revision 268, 161 bytes (checked in by depesz, 3 years ago)

initial commit. configurable, not yet all queries

Line 
1 -- Locks information
2 SELECT
3     l.*
4 FROM
5     pg_locks l
6     join pg_database d on coalesce(l.database, d.oid) = d.oid
7 WHERE
8     d.datname = current_database()
9 ;
Note: See TracBrowser for help on using the browser.