]> granicus.if.org Git - postgresql/blobdiff - src/backend/catalog/indexing.c
Allow index AMs to cache data across aminsert calls within a SQL command.
[postgresql] / src / backend / catalog / indexing.c
index 76268e1d2a27a5898bfc5038494d555defbf91ea..abc344ad6992613d0fa0c1cf9332100da94f0bc3 100644 (file)
@@ -139,7 +139,8 @@ CatalogIndexInsert(CatalogIndexState indstate, HeapTuple heapTuple)
                                         &(heapTuple->t_self),          /* tid of heap tuple */
                                         heapRelation,
                                         relationDescs[i]->rd_index->indisunique ?
-                                        UNIQUE_CHECK_YES : UNIQUE_CHECK_NO);
+                                        UNIQUE_CHECK_YES : UNIQUE_CHECK_NO,
+                                        indexInfo);
        }
 
        ExecDropSingleTupleTableSlot(slot);