Include index size on the index list view

This commit is contained in:
Dan Sosedoff 2022-12-03 16:16:00 -06:00
parent 96625916e2
commit 606227d308
No known key found for this signature in database
GPG Key ID: 26186197D282B164

View File

@ -50,7 +50,9 @@ WHERE
TableIndexes = `
SELECT
indexname, indexdef
indexname AS index_name,
pg_size_pretty(pg_table_size(indexname::regclass)) AS index_size,
indexdef AS index_definition
FROM
pg_indexes
WHERE