Fix: Change tablename to relname in getVacuumCandidates query
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user