]> granicus.if.org Git - postgresql/blobdiff - src/include/access/genam.h
Allow index AMs to cache data across aminsert calls within a SQL command.
[postgresql] / src / include / access / genam.h
index 51466b96e8b079e24f10169c367ff971007db015..f467b18a9c79cabbe1c4024e8d89b92bed1e2e3e 100644 (file)
@@ -21,6 +21,9 @@
 #include "utils/relcache.h"
 #include "utils/snapshot.h"
 
+/* We don't want this file to depend on execnodes.h. */
+struct IndexInfo;
+
 /*
  * Struct for statistics returned by ambuild
  */
@@ -131,7 +134,8 @@ extern bool index_insert(Relation indexRelation,
                         Datum *values, bool *isnull,
                         ItemPointer heap_t_ctid,
                         Relation heapRelation,
-                        IndexUniqueCheck checkUnique);
+                        IndexUniqueCheck checkUnique,
+                        struct IndexInfo *indexInfo);
 
 extern IndexScanDesc index_beginscan(Relation heapRelation,
                                Relation indexRelation,