Dataset containing all current database locks
666 667 668
# File 'lib/sequel/adapters/shared/postgres.rb', line 666 def locks dataset.from(:pg_class).join(:pg_locks, :relation=>:relfilenode).select{[pg_class[:relname], Sequel::SQL::ColumnAll.new(:pg_locks)]} end