Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Commit f96d520

Browse files
committed
Add a WHERE clause removed by accident.
1 parent 853578d commit f96d520

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sql/data_collection_helpers/bloated_tables_and_indexes.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ DECLARE
190190
) AS s2
191191
JOIN pg_am am ON s2.relam = am.oid WHERE am.amname = 'btree'
192192
) AS sub
193+
WHERE NOT is_na
193194
) AS o
194195
ORDER BY
195196
CASE WHEN p_order_by_bloat_factor THEN bloat_ratio ELSE bloat_size END DESC

0 commit comments

Comments
 (0)