1073
1073
case T_VacuumStmt:
1074
/* we choose to allow this during "read only" transactions */
1075
PreventCommandDuringRecovery("VACUUM");
1076
vacuum((VacuumStmt *) parsetree, InvalidOid, true, NULL, false,
1075
VacuumStmt *stmt = (VacuumStmt *) parsetree;
1077
/* we choose to allow this during "read only" transactions */
1078
PreventCommandDuringRecovery((stmt->options & VACOPT_VACUUM) ?
1079
"VACUUM" : "ANALYZE");
1080
vacuum(stmt, InvalidOid, true, NULL, false, isTopLevel);
1080
1084
case T_ExplainStmt: