*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.96 2002/11/23 04:05:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.97 2002/11/23 18:26:45 tgl Exp $
*
*-------------------------------------------------------------------------
*/
* If dataCopy is true, we assume that we will be basing the
* copy off an index for cluster operations.
*/
- Assert(!dataCopy || indexOid != NULL);
+ Assert(!dataCopy || OidIsValid(indexOid));
/*
* Create the new heap, using a temporary name in the same namespace
* as the existing table. NOTE: there is some risk of collision with
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.56 2002/11/23 04:05:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.57 2002/11/23 18:26:45 tgl Exp $
*
*-------------------------------------------------------------------------
*/
* Do the real work using the same technique as cluster, but
* without the code copy portion
*/
- rebuild_rel(relid, NULL, indexes, false);
+ rebuild_rel(relid, InvalidOid, indexes, false);
}
/*----------