File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.58 2001/10/04 22:06:46 tgl Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.59 2001/10/24 09:28:31 inoue Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -130,7 +130,7 @@ DefineIndex(char *heapRelationName,
130
130
CheckPredicate (cnfPred , rangetable , relationId );
131
131
}
132
132
133
- if (!IsBootstrapProcessingMode () && !IndexesAreActive (relationId , false))
133
+ if (!IsBootstrapProcessingMode () && IsSystemRelationName ( heapRelationName ) && !IndexesAreActive (relationId , false))
134
134
elog (ERROR , "Existing indexes are inactive. REINDEX first" );
135
135
136
136
/*
You can’t perform that action at this time.
0 commit comments