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 parentb06a354 commit4b40d40Copy full SHA for 4b40d40
src/backend/catalog/indexing.c
@@ -139,7 +139,7 @@ CatalogIndexInsert(CatalogIndexState indstate, HeapTuple heapTuple)
139
Assert(!ReindexIsProcessingIndex(RelationGetRelid(index)));
140
continue;
141
}
142
-#endif/* USE_ASSERT_CHECKING */
+#endif/* USE_ASSERT_CHECKING */
143
144
/*
145
* FormIndexDatum fills in its values and isnull parameters with the
@@ -154,12 +154,12 @@ CatalogIndexInsert(CatalogIndexState indstate, HeapTuple heapTuple)
154
155
* The index AM does the rest.
156
*/
157
-index_insert(relationDescs[i],/* index relation */
+index_insert(index,/* index relation */
158
values,/* array of index Datums */
159
isnull,/* is-null flags */
160
&(heapTuple->t_self),/* tid of heap tuple */
161
heapRelation,
162
-relationDescs[i]->rd_index->indisunique ?
+index->rd_index->indisunique ?
163
UNIQUE_CHECK_YES :UNIQUE_CHECK_NO,
164
indexInfo);
165