Definition at line 24 of file lo.c.
36 elog(
ERROR,
"lo_manage: not fired by trigger manager");
51 elog(
ERROR,
"%s: no column name provided in the trigger definition",
67 elog(
ERROR,
"%s: column \"%s\" does not exist",
76 if (newtuple != NULL &&
82 if (orig != NULL && (newv == NULL || strcmp(orig, newv) != 0))
Datum be_lo_unlink(PG_FUNCTION_ARGS)
bool bms_is_member(int x, const Bitmapset *a)
#define DirectFunctionCall1(func, arg1)
if(TABLE==NULL||TABLE_index==NULL)
void pfree(void *pointer)
static Datum PointerGetDatum(const void *X)
static Datum ObjectIdGetDatum(Oid X)
int SPI_fnumber(TupleDesc tupdesc, const char *fname)
char * SPI_getvalue(HeapTuple tuple, TupleDesc tupdesc, int fnumber)
const Bitmapset * tg_updatedcols
#define FirstLowInvalidHeapAttributeNumber
#define TRIGGER_FIRED_BY_DELETE(event)
#define CALLED_AS_TRIGGER(fcinfo)
#define TRIGGER_FIRED_FOR_ROW(event)
#define TRIGGER_FIRED_BY_UPDATE(event)
References generate_unaccent_rules::args, atooid, attnum, be_lo_unlink(), bms_is_member(), CALLED_AS_TRIGGER, DirectFunctionCall1, elog, ERROR, FirstLowInvalidHeapAttributeNumber, if(), ObjectIdGetDatum(), pfree(), PointerGetDatum(), RelationData::rd_att, SPI_fnumber(), SPI_getvalue(), TriggerData::tg_event, TriggerData::tg_newtuple, TriggerData::tg_relation, TriggerData::tg_trigger, TriggerData::tg_trigtuple, TriggerData::tg_updatedcols, Trigger::tgargs, Trigger::tgname, TRIGGER_FIRED_BY_DELETE, TRIGGER_FIRED_BY_UPDATE, and TRIGGER_FIRED_FOR_ROW.