Skip to content

Commit

Permalink
Add database and locktype to locks
Browse files Browse the repository at this point in the history
  • Loading branch information
pawurb committed Sep 19, 2024
1 parent 9c58f74 commit 069cf7b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/ruby_pg_extras/queries/all_locks.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ SELECT
pg_stat_activity.pid,
pg_class.relname,
pg_locks.transactionid,
pg_locks.locktype,
pg_locks.database,
pg_locks.granted,
pg_locks.mode,
pg_stat_activity.query AS query_snippet,
Expand Down
2 changes: 2 additions & 0 deletions lib/ruby_pg_extras/queries/locks.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ SELECT
pg_stat_activity.pid,
pg_class.relname,
pg_locks.transactionid,
pg_locks.locktype,
pg_locks.database,
pg_locks.granted,
pg_locks.mode,
pg_stat_activity.query AS query_snippet,
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby_pg_extras/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RubyPgExtras
VERSION = "5.3.1"
VERSION = "5.4.0"
end

0 comments on commit 069cf7b

Please sign in to comment.