Commit db11f438 authored by Hiroshi Inoue's avatar Hiroshi Inoue

Make sure to not handle deactivated system indexes

parent 468a9704
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.74 2000/11/16 22:30:17 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.75 2000/12/14 07:02:42 inoue Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -143,7 +143,7 @@ CatalogIndexInsert(Relation *idescs, ...@@ -143,7 +143,7 @@ CatalogIndexInsert(Relation *idescs,
char nullv[INDEX_MAX_KEYS]; char nullv[INDEX_MAX_KEYS];
int i; int i;
if (IsIgnoringSystemIndexes()) if (IsIgnoringSystemIndexes() || (!heapRelation->rd_rel->relhasindex))
return; return;
heapDescriptor = RelationGetDescr(heapRelation); heapDescriptor = RelationGetDescr(heapRelation);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment