Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit db11f43

Browse files
author
Hiroshi Inoue
committed
Make sure to not handle deactivated system indexes
1 parent 468a970 commit db11f43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/catalog/indexing.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.74 2000/11/16 22:30:17 tgl Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.75 2000/12/14 07:02:42 inoue Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -143,7 +143,7 @@ CatalogIndexInsert(Relation *idescs,
143143
char nullv[INDEX_MAX_KEYS];
144144
int i;
145145

146-
if (IsIgnoringSystemIndexes())
146+
if (IsIgnoringSystemIndexes() || (!heapRelation->rd_rel->relhasindex))
147147
return;
148148
heapDescriptor = RelationGetDescr(heapRelation);
149149

0 commit comments

Comments
 (0)