PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "access/genam.h"
#include "access/heapam.h"
#include "access/tableam.h"
#include "catalog/index.h"
#include "commands/trigger.h"
#include "executor/executor.h"
#include "utils/builtins.h"
#include "utils/rel.h"
#include "utils/snapmgr.h"
Go to the source code of this file.
Functions | |
Datum | unique_key_recheck (PG_FUNCTION_ARGS) |
Datum unique_key_recheck | ( | PG_FUNCTION_ARGS | ) |
Definition at line 41 of file constraint.c.
References BuildIndexInfo(), CALLED_AS_TRIGGER, castNode, check_exclusion_constraint(), CreateExecutorState(), ExprContext::ecxt_scantuple, ereport, errcode(), errmsg(), ERROR, ExecDropSingleTupleTableSlot(), FormIndexDatum(), FreeExecutorState(), GetPerTupleExprContext, IndexInfo::ii_ExclusionOps, IndexInfo::ii_Expressions, index_close(), index_insert(), INDEX_MAX_KEYS, index_open(), ItemPointerSetInvalid, NIL, PointerGetDatum, RowExclusiveLock, SnapshotSelf, table_index_fetch_begin(), table_index_fetch_end(), table_index_fetch_tuple(), table_slot_create(), TriggerData::tg_event, TriggerData::tg_newslot, TriggerData::tg_relation, TriggerData::tg_trigger, TriggerData::tg_trigslot, Trigger::tgconstrindid, TRIGGER_FIRED_AFTER, TRIGGER_FIRED_BY_INSERT, TRIGGER_FIRED_BY_UPDATE, TRIGGER_FIRED_FOR_ROW, TupleTableSlot::tts_tid, UNIQUE_CHECK_EXISTING, and values.