mirror of
https://github.com/postgres/postgres.git
synced 2026-02-15 08:37:56 -05:00
Make sure to not handle deactivated system indexes
This commit is contained in:
parent
468a970409
commit
db11f4382a
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
*
|
||||
* 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,
|
|||
char nullv[INDEX_MAX_KEYS];
|
||||
int i;
|
||||
|
||||
if (IsIgnoringSystemIndexes())
|
||||
if (IsIgnoringSystemIndexes() || (!heapRelation->rd_rel->relhasindex))
|
||||
return;
|
||||
heapDescriptor = RelationGetDescr(heapRelation);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue