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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 510de95003611c1630c1adde0f946f1d1326ab90777241818bf400e29a827d29
4
- data.tar.gz: 8fc3a1d1e778a476d29abad38e9036d817f641c5bb2ab5f5126499e913f001b0
3
+ metadata.gz: 8998510423dd0947fd6b35f8f1ec5f0f2e5168ccbc56b82e46ac5044f356b74b
4
+ data.tar.gz: fe73a1a398bff83813a2a9337e8ecb892c6bc1fb9caaaf32ad739cbfcdb93519
5
5
  SHA512:
6
- metadata.gz: 9604edbba3546115e83cd610228652a2361ce2502792bae433e63b71f1f12f825d66fd337acd51c649ca4e7e996a68ed7fbe3c557e63c96afb48ef5600f7e4d9
7
- data.tar.gz: ada43c82c079fe85379929e67435ea1e692204c307582ed87bc6459ae3f01e80136c8bb08070a5d7235a163e55aa288caa88674017ef8806902e5b04ac390bb2
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
- ![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,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
@@ -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.3"
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.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-04-09 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg