1/*-------------------------------------------------------------------------
4 * This file provides some definitions to support indexing
8 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1994, Regents of the University of California
11 * src/include/catalog/indexing.h
13 *-------------------------------------------------------------------------
23 * The state object used by CatalogOpenIndexes and friends is actually the
24 * same as the executor's ResultRelInfo, but we give it another type name
25 * to decouple callers from that fact.
30 * Cap the maximum amount of bytes allocated for multi-inserts with system
31 * catalogs, limiting the number of slots used.
33 #define MAX_CATALOG_MULTI_INSERT_BYTES 65535
36 * indexing.c prototypes
54#endif /* INDEXING_H */
void CatalogTupleUpdate(Relation heapRel, ItemPointer otid, HeapTuple tup)
struct ResultRelInfo * CatalogIndexState
void CatalogTuplesMultiInsertWithInfo(Relation heapRel, TupleTableSlot **slot, int ntuples, CatalogIndexState indstate)
void CatalogTupleInsertWithInfo(Relation heapRel, HeapTuple tup, CatalogIndexState indstate)
void CatalogCloseIndexes(CatalogIndexState indstate)
void CatalogTupleInsert(Relation heapRel, HeapTuple tup)
CatalogIndexState CatalogOpenIndexes(Relation heapRel)
void CatalogTupleDelete(Relation heapRel, ItemPointer tid)
void CatalogTupleUpdateWithInfo(Relation heapRel, ItemPointer otid, HeapTuple tup, CatalogIndexState indstate)