rails-pg-extras 4.10.0 → 4.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/lib/rails_pg_extras/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a067baaa71cfde9501323c19331bde5cb0b20c41c4e1762b2f901451adc9bcc
|
4
|
+
data.tar.gz: ef322f5e9e3140533cde9b50c919cfba1aea8c86bd23dc2711351b65330b691f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c07b9751224c026e24e2d3324995aacad8bf24ede16623203e5b19a6f895846354bee63ef9397cedf99c9a3d29d52ebd04af3273573581fb2d37c51db8016216
|
7
|
+
data.tar.gz: 4894354620c288a57fa7c7f22e5d17809eefeffd7698f26f8c13052c914c7a9164c4da11372d6b1650fa8e42f1b9b060dc6fcf5c591a029455c386ecf4759319
|
data/README.md
CHANGED
@@ -630,6 +630,16 @@ RailsPgExtras.kill_all
|
|
630
630
|
|
631
631
|
This commands kills all the currently active connections to the database. It can be useful as a last resort when your database is stuck in a deadlock.
|
632
632
|
|
633
|
+
### `kill_pid`
|
634
|
+
|
635
|
+
```ruby
|
636
|
+
|
637
|
+
RailsPgExtras.kill_pid(args: { pid: 4657 })
|
638
|
+
|
639
|
+
```
|
640
|
+
|
641
|
+
This commands kills currently active database connection by its `pid` number. You can use `connections` method to find the correct `pid` values.
|
642
|
+
|
633
643
|
### `pg_stat_statements_reset`
|
634
644
|
|
635
645
|
```ruby
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-pg-extras
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pawurb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-pg-extras
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: 4.12.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
26
|
+
version: 4.12.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|