We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent11ea45f commitd264bb5Copy full SHA for d264bb5
src/backend/catalog/indexing.c
@@ -136,7 +136,7 @@ CatalogIndexInsert(CatalogIndexState indstate, HeapTuple heapTuple)
136
Assert(!ReindexIsProcessingIndex(RelationGetRelid(index)));
137
continue;
138
}
139
-#endif/* USE_ASSERT_CHECKING */
+#endif/* USE_ASSERT_CHECKING */
140
141
/*
142
* FormIndexDatum fills in its values and isnull parameters with the
@@ -151,12 +151,12 @@ CatalogIndexInsert(CatalogIndexState indstate, HeapTuple heapTuple)
151
152
* The index AM does the rest.
153
*/
154
-index_insert(relationDescs[i],/* index relation */
+index_insert(index,/* index relation */
155
values,/* array of index Datums */
156
isnull,/* is-null flags */
157
&(heapTuple->t_self),/* tid of heap tuple */
158
heapRelation,
159
-relationDescs[i]->rd_index->indisunique ?
+index->rd_index->indisunique ?
160
UNIQUE_CHECK_YES :UNIQUE_CHECK_NO,
161
indexInfo);
162