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