*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.156 2000/05/29 17:06:14 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.157 2000/05/29 17:07:57 momjian Exp $
*
*-------------------------------------------------------------------------
/* vacuum each heap relation */
for (cur = vrl; cur != (VRelList) NULL; cur = cur->vrl_next)
+ {
vacuum_rel(cur->vrl_relid, analyze);
-
- /* analyze separately so locking is minimized */
- if (analyze)
- for (cur = vrl; cur != (VRelList) NULL; cur = cur->vrl_next)
+ /* analyze separately so locking is minimized */
+ if (analyze)
analyze_rel(cur->vrl_relid, anal_cols2);
+ }
}
static VRelList