pgdexter 0.6.1 → 0.6.2

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: 5d6f485cb3dbfbc0e20b1b46b2ac799c27664b2130dbff0c57a4451d9df4fd3f
4
- data.tar.gz: 76d48363c209d2b17a0dd29dd8e8be9e691b3b161f004e016d533871a21da6ce
3
+ metadata.gz: 8c6d5363b46c95785cf87964a0d1226161b43433e10d7700c71342ebcf3c10bc
4
+ data.tar.gz: 89edef30213d5ec288c9c7ab8bcb8b371649f569408a34abb4fe9038050729dc
5
5
  SHA512:
6
- metadata.gz: ac7db9aa636b187745bdaba28c84581d2610397368eceb0c86173c55ea88733abdc9876280bac5cf4f940141510d1e37c75b5cb967de00c0b2cb434eaccee121
7
- data.tar.gz: bebeb10a06631cd3ba5a69d40a67b3275d7d2dd8329ab617f3251327ab2f2980d0bce273d0c44ff1e31fb6992e04220524c22e3eaa15eaca674987cb2074024a
6
+ metadata.gz: d65547dc4e985162671f3a5d32b66534ad9ceb7e17dbe1bbf516e16b0b820abadbf32aa045a0a431b36e92ea5ab1347539db220bc08d67c50095b501c6b56b62
7
+ data.tar.gz: c86be55126a037ddeba3170076ac94b3d10cbe0f29e530aa5a2e077b62719998427668420c3802f2ae612cea4127f4536db16683466c8f9184678ec2284481f5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.6.2 (2025-07-27)
2
+
3
+ - Fixed error with utility statements
4
+
1
5
  ## 0.6.1 (2025-06-08)
2
6
 
3
7
  - Fixed error with column types without `btree` support
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.4.1.tar.gz | tar xz
16
- cd hypopg-1.4.1
15
+ curl -L https://github.com/HypoPG/hypopg/archive/1.4.2.tar.gz | tar xz
16
+ cd hypopg-1.4.2
17
17
  make
18
18
  make install # may need sudo
19
19
  ```
@@ -136,7 +136,8 @@ module Dexter
136
136
  puts
137
137
  end
138
138
  begin
139
- query.plans << plan(query.statement)
139
+ plan = self.plan(query.statement)
140
+ query.plans << plan if plan && plan["Total Cost"]
140
141
  rescue PG::Error, JSON::NestingError => e
141
142
  if @log_explain
142
143
  log e.message
@@ -1,6 +1,6 @@
1
1
  module Dexter
2
2
  class StderrLogParser < LogParser
3
- LINE_SEPERATOR = ": ".freeze
3
+ LINE_SEPARATOR = ": ".freeze
4
4
  DETAIL_LINE = "DETAIL: ".freeze
5
5
 
6
6
  def perform(collector)
@@ -11,7 +11,7 @@ module Dexter
11
11
  if active_line
12
12
  if line.include?(DETAIL_LINE)
13
13
  add_parameters(active_line, line.chomp.split(DETAIL_LINE)[1])
14
- elsif line.include?(LINE_SEPERATOR)
14
+ elsif line.include?(LINE_SEPARATOR)
15
15
  collector.add(active_line, duration)
16
16
  active_line = nil
17
17
  else
@@ -1,3 +1,3 @@
1
1
  module Dexter
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgdexter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.6.7
118
+ rubygems_version: 3.6.9
119
119
  specification_version: 4
120
120
  summary: The automatic indexer for Postgres
121
121
  test_files: []