ruby-pg-extras 5.2.2 → 5.2.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 510de95003611c1630c1adde0f946f1d1326ab90777241818bf400e29a827d29
4
- data.tar.gz: 8fc3a1d1e778a476d29abad38e9036d817f641c5bb2ab5f5126499e913f001b0
3
+ metadata.gz: f34797ad0dd940fdaf3b4fbd6b48964ac53fc9eff1a4965ce2b2b352aef8e800
4
+ data.tar.gz: c9ef459467117ba7142379ce3d7f7916b0b9d83a63d14d3d5f1edb6189a6890f
5
5
  SHA512:
6
- metadata.gz: 9604edbba3546115e83cd610228652a2361ce2502792bae433e63b71f1f12f825d66fd337acd51c649ca4e7e996a68ed7fbe3c557e63c96afb48ef5600f7e4d9
7
- data.tar.gz: ada43c82c079fe85379929e67435ea1e692204c307582ed87bc6459ae3f01e80136c8bb08070a5d7235a163e55aa288caa88674017ef8806902e5b04ac390bb2
6
+ metadata.gz: e8de1e0a10d3c151acc678fad31fc36bc338b7105c6d455422beefc8cab0a1b7af01b849580184328c47c86125f01837b7d0369cb140efa4aaee65faae49290d
7
+ data.tar.gz: 2416774b8d8a381133e2e4962f788b8784f45714ea3046b1ac08cee4cb250200f8c4f5601d5b55dad5f7fd1c72c16fa0a22648b269d32748091310ca5b91a1fe
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
- ![Diagnose report](https://github.com/pawurb/ruby-pg-extras/raw/master/ruby-pg-extras-diagnose.png)
109
+ ![Diagnose report](https://github.com/pawurb/ruby-pg-extras/raw/main/ruby-pg-extras-diagnose.png)
110
110
 
111
111
  Keep reading to learn about methods that `diagnose` uses under the hood.
112
112
 
@@ -5,7 +5,9 @@ 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 blocked_sql_app,
10
+ ka.application_name AS blocking_sql_app
9
11
  FROM pg_catalog.pg_locks bl
10
12
  JOIN pg_catalog.pg_stat_activity a
11
13
  ON bl.pid = a.pid
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyPgExtras
4
- VERSION = "5.2.2"
4
+ VERSION = "5.2.4"
5
5
  end
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.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-04-09 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg