ruby-pg-extras 5.2.2 → 5.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- 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: 8998510423dd0947fd6b35f8f1ec5f0f2e5168ccbc56b82e46ac5044f356b74b
|
|
4
|
+
data.tar.gz: fe73a1a398bff83813a2a9337e8ecb892c6bc1fb9caaaf32ad739cbfcdb93519
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f2541ba5926678e683d4f5402ae4b3845be554c350b64cb378c9cdf11e2b14ad6f620bb758ee7e5c8aa943abfb969eaef7d3d5ea0c1ed7efc8acb89863972b6
|
|
7
|
+
data.tar.gz: 58b6eaf77c38ae3e21793a32d10cd86118a697d4bc5dd8ced29465a87cd9b73b5c2f7095a671fed93df2268880423213c6926c057cc0ea0a51edc4c67f65391e
|
data/README.md
CHANGED
|
@@ -106,7 +106,7 @@ The simplest way to start using pg-extras is to execute a `diagnose` method. It
|
|
|
106
106
|
RubyPgExtras.diagnose
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-

|
|
110
110
|
|
|
111
111
|
Keep reading to learn about methods that `diagnose` uses under the hood.
|
|
112
112
|
|
|
@@ -5,7 +5,8 @@ SELECT bl.pid AS blocked_pid,
|
|
|
5
5
|
now() - ka.query_start AS blocking_duration,
|
|
6
6
|
kl.pid AS blocking_pid,
|
|
7
7
|
a.query AS blocked_statement,
|
|
8
|
-
now() - a.query_start AS blocked_duration
|
|
8
|
+
now() - a.query_start AS blocked_duration,
|
|
9
|
+
a.application_name AS application
|
|
9
10
|
FROM pg_catalog.pg_locks bl
|
|
10
11
|
JOIN pg_catalog.pg_stat_activity a
|
|
11
12
|
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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- pawurb
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pg
|