91 #ifndef USE_ASSERT_CHECKING 114 for (i = 0; i < numIndexes; i++)
119 indexInfo = indexInfoArray[
i];
120 index = relationDescs[
i];
137 #ifdef USE_ASSERT_CHECKING 180 #ifdef USE_ASSERT_CHECKING 205 #define CatalogTupleCheckConstraints(heapRel, tup) ((void) 0) 276 for (
int i = 0;
i < ntuples;
i++)
void FormIndexDatum(IndexInfo *indexInfo, TupleTableSlot *slot, EState *estate, Datum *values, bool *isnull)
#define RelationGetDescr(relation)
TupleTableSlot * MakeSingleTupleTableSlot(TupleDesc tupdesc, const TupleTableSlotOps *tts_ops)
#define att_isnull(ATT, BITS)
#define TupleDescAttr(tupdesc, i)
static void CatalogIndexInsert(CatalogIndexState indstate, HeapTuple heapTuple)
void CatalogTupleDelete(Relation heapRel, ItemPointer tid)
void heap_freetuple(HeapTuple htup)
void ExecOpenIndices(ResultRelInfo *resultRelInfo, bool speculative)
void pfree(void *pointer)
void CatalogTuplesMultiInsertWithInfo(Relation heapRel, TupleTableSlot **slot, int ntuples, CatalogIndexState indstate)
#define HeapTupleHasNulls(tuple)
void ExecDropSingleTupleTableSlot(TupleTableSlot *slot)
FormData_pg_attribute * Form_pg_attribute
HeapTuple ExecFetchSlotHeapTuple(TupleTableSlot *slot, bool materialize, bool *shouldFree)
TriggerDesc * ri_TrigDesc
void simple_heap_insert(Relation relation, HeapTuple tup)
void CatalogTupleUpdateWithInfo(Relation heapRel, ItemPointer otid, HeapTuple tup, CatalogIndexState indstate)
void CatalogTupleInsertWithInfo(Relation heapRel, HeapTuple tup, CatalogIndexState indstate)
#define HeapTupleIsHeapOnly(tuple)
#define Assert(condition)
CatalogIndexState CatalogOpenIndexes(Relation heapRel)
void CatalogTupleUpdate(Relation heapRel, ItemPointer otid, HeapTuple tup)
void simple_heap_delete(Relation relation, ItemPointer tid)
void simple_heap_update(Relation relation, ItemPointer otid, HeapTuple tup)
static Datum values[MAXATTR]
IndexInfo ** ri_IndexRelationInfo
const TupleTableSlotOps TTSOpsHeapTuple
void heap_multi_insert(Relation relation, TupleTableSlot **slots, int ntuples, CommandId cid, int options, BulkInsertState bistate)
void CatalogCloseIndexes(CatalogIndexState indstate)
CommandId GetCurrentCommandId(bool used)
bool index_insert(Relation indexRelation, Datum *values, bool *isnull, ItemPointer heap_t_ctid, Relation heapRelation, IndexUniqueCheck checkUnique, bool indexUnchanged, IndexInfo *indexInfo)
#define CatalogTupleCheckConstraints(heapRel, tup)
bool ReindexIsProcessingIndex(Oid indexOid)
#define RelationGetRelid(relation)
void CatalogTupleInsert(Relation heapRel, HeapTuple tup)
void ExecCloseIndices(ResultRelInfo *resultRelInfo)
RelationPtr ri_IndexRelationDescs
TupleTableSlot * ExecStoreHeapTuple(HeapTuple tuple, TupleTableSlot *slot, bool shouldFree)