Skip to content

Commit

Permalink
Added index_size to btree_indexes_on_array_columns.sql (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaulther committed Apr 30, 2024
1 parent edcf437 commit aebd277
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/btree_indexes_on_array_columns.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
select
i.indrelid::regclass as table_name, -- Name of the table
i.indexrelid::regclass as index_name, -- Name of the index
pg_relation_size(i.indexrelid) as index_size, -- Size of the index
col.attname as column_name, -- Column name
col.attnotnull as column_not_null -- Column not null
from pg_catalog.pg_index as i
Expand Down

0 comments on commit aebd277

Please sign in to comment.