PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "commands/event_trigger.h"
#include "commands/trigger.h"
#include "funcapi.h"
#include "utils/builtins.h"
#include "utils/lsyscache.h"
#include "utils/syscache.h"
Go to the source code of this file.
Functions | |
PG_FUNCTION_INFO_V1 (plsample_call_handler) | |
static Datum | plsample_func_handler (PG_FUNCTION_ARGS) |
Datum | plsample_call_handler (PG_FUNCTION_ARGS) |
Variables | |
PG_MODULE_MAGIC | |
PG_FUNCTION_INFO_V1 | ( | plsample_call_handler | ) |
Datum plsample_call_handler | ( | PG_FUNCTION_ARGS | ) |
Definition at line 37 of file plsample.c.
References CALLED_AS_EVENT_TRIGGER, CALLED_AS_TRIGGER, PG_END_TRY, PG_FINALLY, PG_TRY, and plsample_func_handler().
|
static |
Definition at line 83 of file plsample.c.
References ALLOCSET_SMALL_SIZES, AllocSetContextCreate, DatumGetCString, DirectFunctionCall1, elog, ereport, errmsg(), ERROR, fmgr_info_cxt(), get_func_arg_info(), GETSTRUCT, getTypeIOParam(), HeapTupleIsValid, i, InputFunctionCall(), NameStr, NOTICE, ObjectIdGetDatum, OutputFunctionCall(), palloc0(), PG_RETURN_DATUM, PG_RETURN_NULL, PROCOID, proname, pstrdup(), ReleaseSysCache(), SearchSysCache(), SearchSysCache1(), source, SysCacheGetAttr(), textout(), TopMemoryContext, TYPEOID, and value.
Referenced by plsample_call_handler().
PG_MODULE_MAGIC |
Definition at line 27 of file plsample.c.