ruby-pg-extras 5.2.3 → 5.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_pg_extras/queries/blocking.sql +2 -1
- data/lib/ruby_pg_extras/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f34797ad0dd940fdaf3b4fbd6b48964ac53fc9eff1a4965ce2b2b352aef8e800
|
4
|
+
data.tar.gz: c9ef459467117ba7142379ce3d7f7916b0b9d83a63d14d3d5f1edb6189a6890f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8de1e0a10d3c151acc678fad31fc36bc338b7105c6d455422beefc8cab0a1b7af01b849580184328c47c86125f01837b7d0369cb140efa4aaee65faae49290d
|
7
|
+
data.tar.gz: 2416774b8d8a381133e2e4962f788b8784f45714ea3046b1ac08cee4cb250200f8c4f5601d5b55dad5f7fd1c72c16fa0a22648b269d32748091310ca5b91a1fe
|
@@ -6,7 +6,8 @@ SELECT bl.pid AS blocked_pid,
|
|
6
6
|
kl.pid AS blocking_pid,
|
7
7
|
a.query AS blocked_statement,
|
8
8
|
now() - a.query_start AS blocked_duration,
|
9
|
-
a.application_name AS
|
9
|
+
a.application_name AS blocked_sql_app,
|
10
|
+
ka.application_name AS blocking_sql_app
|
10
11
|
FROM pg_catalog.pg_locks bl
|
11
12
|
JOIN pg_catalog.pg_stat_activity a
|
12
13
|
ON bl.pid = a.pid
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-pg-extras
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.
|
4
|
+
version: 5.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pawurb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|