PostgreSQL Source Code git master
|
#include "postgres.h"
#include "access/htup_details.h"
#include "commands/trigger.h"
#include "utils/fmgrprotos.h"
Go to the source code of this file.
Functions | |
Datum | suppress_redundant_updates_trigger (PG_FUNCTION_ARGS) |
Datum suppress_redundant_updates_trigger | ( | PG_FUNCTION_ARGS | ) |
Definition at line 28 of file trigfuncs.c.
References CALLED_AS_TRIGGER, ereport, errcode(), errmsg(), ERROR, HEAP_XACT_MASK, HeapTupleHeaderGetNatts, if(), PointerGetDatum(), SizeofHeapTupleHeader, HeapTupleData::t_data, HeapTupleData::t_len, TriggerData::tg_event, TriggerData::tg_newtuple, TriggerData::tg_trigtuple, TRIGGER_FIRED_BEFORE, TRIGGER_FIRED_BY_UPDATE, and TRIGGER_FIRED_FOR_ROW.