*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.194 2002/09/03 01:04:41 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.195 2002/09/03 16:00:02 tgl Exp $
*
*
* INTERFACE ROUTINES
indexInfo = BuildIndexInfo(iRel->rd_index);
/* Open the parent heap relation */
- heapRelation = heap_open(heapId, ExclusiveLock);
+ heapRelation = heap_open(heapId, AccessExclusiveLock);
if (heapRelation == NULL)
elog(ERROR, "reindex_index: can't open heap relation");
/*
* Ensure to hold an exclusive lock throughout the transaction. The
- * lock could be less intensive but now it's AccessExclusiveLock for
- * simplicity.
+ * lock could be less intensive (in the non-overwrite path) but now
+ * it's AccessExclusiveLock for simplicity.
*/
rel = heap_open(relid, AccessExclusiveLock);