Skip to content

Commit

Permalink
fix: vacuum stats query where clause
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Apr 12, 2024
1 parent 5c3e855 commit be29d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/inspect/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ SELECT
FROM
pg_stat_user_tables psut INNER JOIN pg_class ON psut.relid = pg_class.oid
INNER JOIN vacuum_settings ON pg_class.oid = vacuum_settings.oid
WHERE NOT schema LIKE ANY($1)
WHERE NOT vacuum_settings.nspname LIKE ANY($1)
ORDER BY
case
when pg_class.reltuples = -1 then 1
Expand Down

0 comments on commit be29d83

Please sign in to comment.