Make AO vacuum fault injector table specific.
Without this change the faults CompactionBeforeSegmentFileDropPhase
and CompactionBeforeCleanupPhase when set affected all the AO tables
running vacuum. To enable writing parallel tests, make these faults
hit only specified tables.
@@ -201,7 +201,7 @@ lazy_vacuum_rel(Relation onerel, VacuumStmt *vacstmt,
CompactionBeforeSegmentFileDropPhase,
DDLNotSpecified,
"", // databaseName
- ""); // tableName
+ RelationGetRelationName(onerel)); // tableName
}
if (vacummStatement_IsInAppendOnlyCleanupPhase(vacstmt))
{
@@ -209,7 +209,7 @@ lazy_vacuum_rel(Relation onerel, VacuumStmt *vacstmt,
CompactionBeforeCleanupPhase,
DDLNotSpecified,
"", // databaseName
- ""); // tableName
+ RelationGetRelationName(onerel)); // tableName
}
#endif
