Fix: Change tablename to relname in getVacuumCandidates query

This commit is contained in:
cawcenter
2025-12-16 11:51:44 -05:00
parent 10a0ecd327
commit ea23680e5d

View File

@@ -212,7 +212,7 @@ export async function getVacuumCandidates(): Promise<Array<{
dead_percent: string;
}>(
`SELECT
schemaname || '.' || tablename as table,
schemaname || '.' || relname as table,
n_dead_tup as dead_tuples,
n_live_tup as live_tuples,
CASE