Dataset containing all current database locks
365 366 367
# File 'lib/sequel/adapters/shared/postgres.rb', line 365 def locks dataset.from(:pg_class).join(:pg_locks, :relation=>:relfilenode).select(:pg_class__relname, Sequel::SQL::ColumnAll.new(:pg_locks)) end