Skip to content

Commit aebd277

Browse files
authored
Added index_size to btree_indexes_on_array_columns.sql (#40)
1 parent edcf437 commit aebd277

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/btree_indexes_on_array_columns.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
select
1313
i.indrelid::regclass as table_name, -- Name of the table
1414
i.indexrelid::regclass as index_name, -- Name of the index
15+
pg_relation_size(i.indexrelid) as index_size, -- Size of the index
1516
col.attname as column_name, -- Column name
1617
col.attnotnull as column_not_null -- Column not null
1718
from pg_catalog.pg_index as i

0 commit comments

Comments
 (0)