ruby-pg-extras 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fe955faca71da76601e1e7d55ca59608a05ead32482d21bcba4fb86763b2916
4
- data.tar.gz: c3605758915cee4edcc15e12424513acf5ba26b65d36adb52d8af626807513f6
3
+ metadata.gz: 2a09437b758895b5a7dcb519cd1659c5afb0ae11d9fa3e79b73ddac88cd689c8
4
+ data.tar.gz: addcfb85c1f3a73731cbd34670ed984d8677954563980cf4e9b3317fcc329ce8
5
5
  SHA512:
6
- metadata.gz: 6414a45110bcd0404f3d36f3f074f65ed86560989c2e25f245c38d2ea694cdac961c94d58790235d3e5d80937ca62f27f0565dc007a0e8a9f32ecdeca1a9a711
7
- data.tar.gz: 1808fb4368882f5727926c8722e018be2d25b98395374df129c8cd9238568d43cec29cc3bfae79aa775ec6100958579818aa158daeb84980c1a478dedaf053f5
6
+ metadata.gz: 62cdf41039cd544cc02467606282bca0ecf990b0d65eeaf51803e356b702eba719ee4f861318fef7a225834c0afa85b0ed4f5cd652e604b9c9c6f5f0057e5f7f
7
+ data.tar.gz: '081df083c1f33c94883eb0fff10ad32b6ca28629f39b07ca704879a45c7945b7c67706bd27107fcfff8001ba4d78924ff1f4810ff7fdab312748ef9bedbbbce1'
data/README.md CHANGED
@@ -265,7 +265,7 @@ RubyPGExtras.table_size
265
265
  (truncated results for brevity)
266
266
  ```
267
267
 
268
- This command displays the size of each table in the database, in MB. It is calculated by using the system administration function `pg_table_size()`, which includes the size of the main data fork, free space map, visibility map and TOAST data.
268
+ This command displays the size of each table and materialized view in the database, in MB. It is calculated by using the system administration function `pg_table_size()`, which includes the size of the main data fork, free space map, visibility map and TOAST data.
269
269
 
270
270
  ### `table_indexes_size`
271
271
 
@@ -6,5 +6,5 @@ FROM pg_class c
6
6
  LEFT JOIN pg_namespace n ON (n.oid = c.relnamespace)
7
7
  WHERE n.nspname NOT IN ('pg_catalog', 'information_schema')
8
8
  AND n.nspname !~ '^pg_toast'
9
- AND c.relkind='r'
9
+ AND c.relkind IN ('r', 'm')
10
10
  ORDER BY pg_total_relation_size(c.oid) DESC;
@@ -1,3 +1,3 @@
1
1
  module RubyPGExtras
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  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: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-23 00:00:00.000000000 Z
11
+ date: 2020-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg