mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Include index size on the index list view
This commit is contained in:
parent
96625916e2
commit
606227d308
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user