pgdexter 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/exe/dexter +0 -4
- data/lib/dexter/client.rb +9 -10
- data/lib/dexter/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: a4245b0c02667e411a915ef4c19ef472925048180d5882bc7b63b90037cb9d45
|
4
|
+
data.tar.gz: '0887ae99de87c186c1bfc52edbdbb59546df61de93bfbccd0974dff5c15b80f0'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45ec7b462d925c2e5aa313734d1109b59e65e743c28e3471ef604d430037949675c615ab9004b98f8b055b0a575cdc169470d89e64694ef39cdd2bee60674548
|
7
|
+
data.tar.gz: 8d33afbd03ba250ae7dd4dfe6c1947e8860fece0925b58a098fb7a54f6f8fe76aaa3bc93f663b10282ef1a9b3bb2c059ac26014f9a3cff3798ece22dbb8d62be
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -12,8 +12,8 @@ First, install [HypoPG](https://github.com/HypoPG/hypopg) on your database serve
|
|
12
12
|
|
13
13
|
```sh
|
14
14
|
cd /tmp
|
15
|
-
curl -L https://github.com/HypoPG/hypopg/archive/1.1.
|
16
|
-
cd hypopg-1.1.
|
15
|
+
curl -L https://github.com/HypoPG/hypopg/archive/1.1.4.tar.gz | tar xz
|
16
|
+
cd hypopg-1.1.4
|
17
17
|
make
|
18
18
|
make install # may need sudo
|
19
19
|
```
|
data/exe/dexter
CHANGED
data/lib/dexter/client.rb
CHANGED
@@ -37,9 +37,9 @@ module Dexter
|
|
37
37
|
def parse_args(args)
|
38
38
|
opts = Slop.parse(args) do |o|
|
39
39
|
o.banner = %(Usage:
|
40
|
-
dexter [options]
|
41
|
-
|
42
|
-
Options:
|
40
|
+
dexter [options])
|
41
|
+
o.separator ""
|
42
|
+
o.separator "Options:"
|
43
43
|
o.boolean "--analyze", "analyze tables that haven't been analyzed in the past hour", default: false
|
44
44
|
o.boolean "--create", "create indexes", default: false
|
45
45
|
o.array "--exclude", "prevent specific tables from being indexed"
|
@@ -55,9 +55,6 @@ Options:)
|
|
55
55
|
o.boolean "--pg-stat-activity", "use pg_stat_activity", default: false, help: false
|
56
56
|
o.boolean "--pg-stat-statements", "use pg_stat_statements", default: false, help: false
|
57
57
|
o.string "-s", "--statement", "process a single statement"
|
58
|
-
# separator must go here to show up correctly - slop bug?
|
59
|
-
o.separator ""
|
60
|
-
o.separator "Connection options:"
|
61
58
|
o.on "-v", "--version", "print the version" do
|
62
59
|
log Dexter::VERSION
|
63
60
|
exit
|
@@ -66,10 +63,12 @@ Options:)
|
|
66
63
|
log o
|
67
64
|
exit
|
68
65
|
end
|
69
|
-
o.
|
70
|
-
o.
|
71
|
-
o.string "-
|
72
|
-
o.
|
66
|
+
o.separator ""
|
67
|
+
o.separator "Connection options:"
|
68
|
+
o.string "-d", "--dbname", "database name"
|
69
|
+
o.string "-h", "--host", "database host"
|
70
|
+
o.integer "-p", "--port", "database port"
|
71
|
+
o.string "-U", "--username", "database user"
|
73
72
|
end
|
74
73
|
|
75
74
|
arguments = opts.arguments
|
data/lib/dexter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pgdexter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.8.2
|
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:
|
26
|
+
version: 4.8.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pg
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|