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