is redundant because autovacuum now always analyzes a single table per
transaction.
* PostgresMain().
*/
StartTransactionCommand();
-
- /*
- * Re-establish the transaction snapshot. This is wasted effort when
- * we are called as a normal utility command, because the new
- * transaction will be dropped immediately by PostgresMain(); but it's
- * necessary if we are called from autovacuum because autovacuum might
- * continue on to do an ANALYZE-only call.
- */
- ActiveSnapshot = CopySnapshot(GetTransactionSnapshot());
}
if (vacstmt->vacuum && !IsAutoVacuumWorkerProcess())