PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | FmgrInfo |
struct | FunctionCallInfoBaseData |
struct | Pg_finfo_record |
struct | Pg_magic_struct |
Typedefs | |
typedef struct Node * | fmNodePtr |
typedef struct Aggref * | fmAggrefPtr |
typedef void(* | fmExprContextCallbackFunction) (Datum arg) |
typedef struct StringInfoData * | fmStringInfo |
typedef struct FunctionCallInfoBaseData * | FunctionCallInfo |
typedef Datum(* | PGFunction) (FunctionCallInfo fcinfo) |
typedef struct FmgrInfo | FmgrInfo |
typedef struct FunctionCallInfoBaseData | FunctionCallInfoBaseData |
typedef const Pg_finfo_record *(* | PGFInfoFunction) (void) |
typedef const Pg_magic_struct *(* | PGModuleMagicFunction) (void) |
typedef enum FmgrHookEventType | FmgrHookEventType |
typedef bool(* | needs_fmgr_hook_type) (Oid fn_oid) |
typedef void(* | fmgr_hook_type) (FmgrHookEventType event, FmgrInfo *flinfo, Datum *arg) |
Enumerations | |
enum | FmgrHookEventType { FHET_START , FHET_END , FHET_ABORT } |
Variables | |
PGDLLIMPORT char * | Dynamic_library_path |
PGDLLIMPORT needs_fmgr_hook_type | needs_fmgr_hook |
PGDLLIMPORT fmgr_hook_type | fmgr_hook |
#define DatumGetBpCharP | ( | X | ) | ((BpChar *) PG_DETOAST_DATUM(X)) |
#define DatumGetBpCharPCopy | ( | X | ) | ((BpChar *) PG_DETOAST_DATUM_COPY(X)) |
#define DatumGetBpCharPP | ( | X | ) | ((BpChar *) PG_DETOAST_DATUM_PACKED(X)) |
#define DatumGetBpCharPSlice | ( | X, | |
m, | |||
n | |||
) | ((BpChar *) PG_DETOAST_DATUM_SLICE(X,m,n)) |
#define DatumGetByteaP | ( | X | ) | ((bytea *) PG_DETOAST_DATUM(X)) |
#define DatumGetByteaPCopy | ( | X | ) | ((bytea *) PG_DETOAST_DATUM_COPY(X)) |
#define DatumGetByteaPP | ( | X | ) | ((bytea *) PG_DETOAST_DATUM_PACKED(X)) |
#define DatumGetByteaPSlice | ( | X, | |
m, | |||
n | |||
) | ((bytea *) PG_DETOAST_DATUM_SLICE(X,m,n)) |
#define DatumGetHeapTupleHeader | ( | X | ) | ((HeapTupleHeader) PG_DETOAST_DATUM(X)) |
#define DatumGetHeapTupleHeaderCopy | ( | X | ) | ((HeapTupleHeader) PG_DETOAST_DATUM_COPY(X)) |
#define DatumGetTextP | ( | X | ) | ((text *) PG_DETOAST_DATUM(X)) |
#define DatumGetTextPCopy | ( | X | ) | ((text *) PG_DETOAST_DATUM_COPY(X)) |
#define DatumGetTextPP | ( | X | ) | ((text *) PG_DETOAST_DATUM_PACKED(X)) |
#define DatumGetTextPSlice | ( | X, | |
m, | |||
n | |||
) | ((text *) PG_DETOAST_DATUM_SLICE(X,m,n)) |
#define DatumGetVarCharP | ( | X | ) | ((VarChar *) PG_DETOAST_DATUM(X)) |
#define DatumGetVarCharPCopy | ( | X | ) | ((VarChar *) PG_DETOAST_DATUM_COPY(X)) |
#define DatumGetVarCharPP | ( | X | ) | ((VarChar *) PG_DETOAST_DATUM_PACKED(X)) |
#define DatumGetVarCharPSlice | ( | X, | |
m, | |||
n | |||
) | ((VarChar *) PG_DETOAST_DATUM_SLICE(X,m,n)) |
#define DirectFunctionCall1 | ( | func, | |
arg1 | |||
) | DirectFunctionCall1Coll(func, InvalidOid, arg1) |
#define DirectFunctionCall2 | ( | func, | |
arg1, | |||
arg2 | |||
) | DirectFunctionCall2Coll(func, InvalidOid, arg1, arg2) |
#define DirectFunctionCall3 | ( | func, | |
arg1, | |||
arg2, | |||
arg3 | |||
) | DirectFunctionCall3Coll(func, InvalidOid, arg1, arg2, arg3) |
#define DirectFunctionCall4 | ( | func, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4 | |||
) | DirectFunctionCall4Coll(func, InvalidOid, arg1, arg2, arg3, arg4) |
#define DirectFunctionCall5 | ( | func, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5 | |||
) | DirectFunctionCall5Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5) |
#define DirectFunctionCall6 | ( | func, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6 | |||
) | DirectFunctionCall6Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6) |
#define DirectFunctionCall7 | ( | func, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7 | |||
) | DirectFunctionCall7Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7) |
#define DirectFunctionCall8 | ( | func, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8 | |||
) | DirectFunctionCall8Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) |
#define DirectFunctionCall9 | ( | func, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8, | |||
arg9 | |||
) | DirectFunctionCall9Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) |
#define fmgr_info_set_expr | ( | expr, | |
finfo | |||
) | ((finfo)->fn_expr = (expr)) |
#define FmgrHookIsNeeded | ( | fn_oid | ) | (!needs_fmgr_hook ? false : (*needs_fmgr_hook)(fn_oid)) |
#define FunctionCall1 | ( | flinfo, | |
arg1 | |||
) | FunctionCall1Coll(flinfo, InvalidOid, arg1) |
#define FunctionCall2 | ( | flinfo, | |
arg1, | |||
arg2 | |||
) | FunctionCall2Coll(flinfo, InvalidOid, arg1, arg2) |
#define FunctionCall3 | ( | flinfo, | |
arg1, | |||
arg2, | |||
arg3 | |||
) | FunctionCall3Coll(flinfo, InvalidOid, arg1, arg2, arg3) |
#define FunctionCall4 | ( | flinfo, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4 | |||
) | FunctionCall4Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4) |
#define FunctionCall5 | ( | flinfo, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5 | |||
) | FunctionCall5Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5) |
#define FunctionCall6 | ( | flinfo, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6 | |||
) | FunctionCall6Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6) |
#define FunctionCall7 | ( | flinfo, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7 | |||
) | FunctionCall7Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7) |
#define FunctionCall8 | ( | flinfo, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8 | |||
) | FunctionCall8Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) |
#define FunctionCall9 | ( | flinfo, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8, | |||
arg9 | |||
) | FunctionCall9Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) |
#define FunctionCallInvoke | ( | fcinfo | ) | ((* (fcinfo)->flinfo->fn_addr) (fcinfo)) |
#define InitFunctionCallInfoData | ( | Fcinfo, | |
Flinfo, | |||
Nargs, | |||
Collation, | |||
Context, | |||
Resultinfo | |||
) |
#define LOCAL_FCINFO | ( | name, | |
nargs | |||
) |
#define OidFunctionCall0 | ( | functionId | ) | OidFunctionCall0Coll(functionId, InvalidOid) |
#define OidFunctionCall1 | ( | functionId, | |
arg1 | |||
) | OidFunctionCall1Coll(functionId, InvalidOid, arg1) |
#define OidFunctionCall2 | ( | functionId, | |
arg1, | |||
arg2 | |||
) | OidFunctionCall2Coll(functionId, InvalidOid, arg1, arg2) |
#define OidFunctionCall3 | ( | functionId, | |
arg1, | |||
arg2, | |||
arg3 | |||
) | OidFunctionCall3Coll(functionId, InvalidOid, arg1, arg2, arg3) |
#define OidFunctionCall4 | ( | functionId, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4 | |||
) | OidFunctionCall4Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4) |
#define OidFunctionCall5 | ( | functionId, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5 | |||
) | OidFunctionCall5Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5) |
#define OidFunctionCall6 | ( | functionId, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6 | |||
) | OidFunctionCall6Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6) |
#define OidFunctionCall7 | ( | functionId, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7 | |||
) | OidFunctionCall7Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7) |
#define OidFunctionCall8 | ( | functionId, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8 | |||
) | OidFunctionCall8Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) |
#define OidFunctionCall9 | ( | functionId, | |
arg1, | |||
arg2, | |||
arg3, | |||
arg4, | |||
arg5, | |||
arg6, | |||
arg7, | |||
arg8, | |||
arg9 | |||
) | OidFunctionCall9Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) |
#define PG_DETOAST_DATUM | ( | datum | ) | pg_detoast_datum((struct varlena *) DatumGetPointer(datum)) |
#define PG_DETOAST_DATUM_COPY | ( | datum | ) | pg_detoast_datum_copy((struct varlena *) DatumGetPointer(datum)) |
#define PG_DETOAST_DATUM_PACKED | ( | datum | ) | pg_detoast_datum_packed((struct varlena *) DatumGetPointer(datum)) |
#define PG_DETOAST_DATUM_SLICE | ( | datum, | |
f, | |||
c | |||
) |
#define PG_FREE_IF_COPY | ( | ptr, | |
n | |||
) |
#define PG_FUNCTION_ARGS FunctionCallInfo fcinfo |
#define PG_FUNCTION_INFO_V1 | ( | funcname | ) |
#define PG_GET_OPCLASS_OPTIONS | ( | ) | get_fn_opclass_options(fcinfo->flinfo) |
#define PG_GETARG_BOOL | ( | n | ) | DatumGetBool(PG_GETARG_DATUM(n)) |
#define PG_GETARG_BPCHAR_P | ( | n | ) | DatumGetBpCharP(PG_GETARG_DATUM(n)) |
#define PG_GETARG_BPCHAR_P_COPY | ( | n | ) | DatumGetBpCharPCopy(PG_GETARG_DATUM(n)) |
#define PG_GETARG_BPCHAR_P_SLICE | ( | n, | |
a, | |||
b | |||
) | DatumGetBpCharPSlice(PG_GETARG_DATUM(n),a,b) |
#define PG_GETARG_BPCHAR_PP | ( | n | ) | DatumGetBpCharPP(PG_GETARG_DATUM(n)) |
#define PG_GETARG_BYTEA_P | ( | n | ) | DatumGetByteaP(PG_GETARG_DATUM(n)) |
#define PG_GETARG_BYTEA_P_COPY | ( | n | ) | DatumGetByteaPCopy(PG_GETARG_DATUM(n)) |
#define PG_GETARG_BYTEA_P_SLICE | ( | n, | |
a, | |||
b | |||
) | DatumGetByteaPSlice(PG_GETARG_DATUM(n),a,b) |
#define PG_GETARG_BYTEA_PP | ( | n | ) | DatumGetByteaPP(PG_GETARG_DATUM(n)) |
#define PG_GETARG_CHAR | ( | n | ) | DatumGetChar(PG_GETARG_DATUM(n)) |
#define PG_GETARG_CSTRING | ( | n | ) | DatumGetCString(PG_GETARG_DATUM(n)) |
#define PG_GETARG_FLOAT4 | ( | n | ) | DatumGetFloat4(PG_GETARG_DATUM(n)) |
#define PG_GETARG_FLOAT8 | ( | n | ) | DatumGetFloat8(PG_GETARG_DATUM(n)) |
#define PG_GETARG_HEAPTUPLEHEADER | ( | n | ) | DatumGetHeapTupleHeader(PG_GETARG_DATUM(n)) |
#define PG_GETARG_HEAPTUPLEHEADER_COPY | ( | n | ) | DatumGetHeapTupleHeaderCopy(PG_GETARG_DATUM(n)) |
#define PG_GETARG_INT16 | ( | n | ) | DatumGetInt16(PG_GETARG_DATUM(n)) |
#define PG_GETARG_INT32 | ( | n | ) | DatumGetInt32(PG_GETARG_DATUM(n)) |
#define PG_GETARG_INT64 | ( | n | ) | DatumGetInt64(PG_GETARG_DATUM(n)) |
#define PG_GETARG_NAME | ( | n | ) | DatumGetName(PG_GETARG_DATUM(n)) |
#define PG_GETARG_OID | ( | n | ) | DatumGetObjectId(PG_GETARG_DATUM(n)) |
#define PG_GETARG_POINTER | ( | n | ) | DatumGetPointer(PG_GETARG_DATUM(n)) |
#define PG_GETARG_RAW_VARLENA_P | ( | n | ) | ((struct varlena *) PG_GETARG_POINTER(n)) |
#define PG_GETARG_TEXT_P | ( | n | ) | DatumGetTextP(PG_GETARG_DATUM(n)) |
#define PG_GETARG_TEXT_P_COPY | ( | n | ) | DatumGetTextPCopy(PG_GETARG_DATUM(n)) |
#define PG_GETARG_TEXT_P_SLICE | ( | n, | |
a, | |||
b | |||
) | DatumGetTextPSlice(PG_GETARG_DATUM(n),a,b) |
#define PG_GETARG_TEXT_PP | ( | n | ) | DatumGetTextPP(PG_GETARG_DATUM(n)) |
#define PG_GETARG_TRANSACTIONID | ( | n | ) | DatumGetTransactionId(PG_GETARG_DATUM(n)) |
#define PG_GETARG_UINT16 | ( | n | ) | DatumGetUInt16(PG_GETARG_DATUM(n)) |
#define PG_GETARG_UINT32 | ( | n | ) | DatumGetUInt32(PG_GETARG_DATUM(n)) |
#define PG_GETARG_VARCHAR_P | ( | n | ) | DatumGetVarCharP(PG_GETARG_DATUM(n)) |
#define PG_GETARG_VARCHAR_P_COPY | ( | n | ) | DatumGetVarCharPCopy(PG_GETARG_DATUM(n)) |
#define PG_GETARG_VARCHAR_P_SLICE | ( | n, | |
a, | |||
b | |||
) | DatumGetVarCharPSlice(PG_GETARG_DATUM(n),a,b) |
#define PG_GETARG_VARCHAR_PP | ( | n | ) | DatumGetVarCharPP(PG_GETARG_DATUM(n)) |
#define PG_GETARG_VARLENA_P | ( | n | ) | PG_DETOAST_DATUM(PG_GETARG_DATUM(n)) |
#define PG_GETARG_VARLENA_PP | ( | n | ) | PG_DETOAST_DATUM_PACKED(PG_GETARG_DATUM(n)) |
#define PG_HAS_OPCLASS_OPTIONS | ( | ) | has_fn_opclass_options(fcinfo->flinfo) |
#define PG_MODULE_MAGIC |
#define PG_MODULE_MAGIC_DATA |
#define PG_RETURN_BOOL | ( | x | ) | return BoolGetDatum(x) |
#define PG_RETURN_BPCHAR_P | ( | x | ) | PG_RETURN_POINTER(x) |
#define PG_RETURN_BYTEA_P | ( | x | ) | PG_RETURN_POINTER(x) |
#define PG_RETURN_CHAR | ( | x | ) | return CharGetDatum(x) |
#define PG_RETURN_CSTRING | ( | x | ) | return CStringGetDatum(x) |
#define PG_RETURN_FLOAT4 | ( | x | ) | return Float4GetDatum(x) |
#define PG_RETURN_FLOAT8 | ( | x | ) | return Float8GetDatum(x) |
#define PG_RETURN_HEAPTUPLEHEADER | ( | x | ) | return HeapTupleHeaderGetDatum(x) |
#define PG_RETURN_INT16 | ( | x | ) | return Int16GetDatum(x) |
#define PG_RETURN_INT32 | ( | x | ) | return Int32GetDatum(x) |
#define PG_RETURN_INT64 | ( | x | ) | return Int64GetDatum(x) |
#define PG_RETURN_NAME | ( | x | ) | return NameGetDatum(x) |
#define PG_RETURN_OID | ( | x | ) | return ObjectIdGetDatum(x) |
#define PG_RETURN_POINTER | ( | x | ) | return PointerGetDatum(x) |
#define PG_RETURN_TEXT_P | ( | x | ) | PG_RETURN_POINTER(x) |
#define PG_RETURN_TRANSACTIONID | ( | x | ) | return TransactionIdGetDatum(x) |
#define PG_RETURN_UINT16 | ( | x | ) | return UInt16GetDatum(x) |
#define PG_RETURN_UINT32 | ( | x | ) | return UInt32GetDatum(x) |
#define PG_RETURN_UINT64 | ( | x | ) | return UInt64GetDatum(x) |
#define PG_RETURN_VARCHAR_P | ( | x | ) | PG_RETURN_POINTER(x) |
#define SizeForFunctionCallInfo | ( | nargs | ) |
typedef struct Aggref* fmAggrefPtr |
typedef void(* fmgr_hook_type) (FmgrHookEventType event, FmgrInfo *flinfo, Datum *arg) |
typedef enum FmgrHookEventType FmgrHookEventType |
typedef struct StringInfoData* fmStringInfo |
typedef struct FunctionCallInfoBaseData* FunctionCallInfo |
typedef struct FunctionCallInfoBaseData FunctionCallInfoBaseData |
typedef const Pg_finfo_record*(* PGFInfoFunction) (void) |
typedef Datum(* PGFunction) (FunctionCallInfo fcinfo) |
typedef const Pg_magic_struct*(* PGModuleMagicFunction) (void) |
enum FmgrHookEventType |
PGDLLEXPORT void _PG_init | ( | void | ) |
Definition at line 52 of file auth_delay.c.
References AccessExclusiveLock, add_int_reloption(), add_reloption_kind(), apw_start_leader_worker(), archive_directory, AssertVariableIsOfType, auth_delay_checks(), auth_delay_milliseconds, auto_explain_log_analyze, auto_explain_log_buffers, auto_explain_log_format, auto_explain_log_level, auto_explain_log_min_duration, auto_explain_log_nested_statements, auto_explain_log_parameter_max_length, auto_explain_log_settings, auto_explain_log_timing, auto_explain_log_triggers, auto_explain_log_verbose, auto_explain_log_wal, auto_explain_sample_rate, autoprewarm, autoprewarm_interval, BaseBackupAddTarget(), BackgroundWorker::bgw_flags, BackgroundWorker::bgw_function_name, BackgroundWorker::bgw_library_name, BackgroundWorker::bgw_main_arg, BGW_MAXLEN, BackgroundWorker::bgw_name, BGW_NEVER_RESTART, BackgroundWorker::bgw_notify_pid, BackgroundWorker::bgw_restart_time, BackgroundWorker::bgw_start_time, BackgroundWorker::bgw_type, BGWORKER_BACKEND_DATABASE_CONNECTION, BGWORKER_SHMEM_ACCESS, BgWorkerStart_RecoveryFinished, bl_relopt_kind, bl_relopt_tab, buf, check_archive_directory(), check_password(), check_password_hook, ClientAuthentication_hook, create_reloptions_table(), DEFAULT_BLOOM_BITS, DEFAULT_BLOOM_LENGTH, DefineCustomBoolVariable(), DefineCustomEnumVariable(), DefineCustomIntVariable(), DefineCustomRealVariable(), DefineCustomStringVariable(), delay_execution_planner(), dummy_object_relabel(), EAN13_index, EAN13_range, elog, EnableQueryId(), HASHCTL::entrysize, ereport, errcode(), errdetail(), errmsg(), ERROR, ExecutorCheckPerms_hook, ExecutorEnd_hook, ExecutorFinish_hook, ExecutorRun_hook, ExecutorStart_hook, explain_ExecutorEnd(), explain_ExecutorFinish(), explain_ExecutorRun(), explain_ExecutorStart(), EXPLAIN_FORMAT_TEXT, find_rendezvous_variable(), format_options, gettext_noop, GUC_LIST_INPUT, GUC_NOT_IN_SAMPLE, GUC_UNIT_BYTE, GUC_UNIT_MS, GUC_UNIT_S, HASH_BLOBS, hash_create(), HASH_ELEM, hstoreCheckKeyLen, hstoreCheckKeyLen_p, hstoreCheckValLen, hstoreCheckValLen_p, hstorePairs, hstorePairs_p, hstoreUniquePairs, hstoreUniquePairs_p, hstoreUpgrade, hstoreUpgrade_p, i, INDEX_MAX_KEYS, inj_stats_enabled, injection_shmem_request(), injection_shmem_startup(), Int32GetDatum(), ISBN_index, ISBN_range, ISMN_index, ISMN_range, ISN_DEBUG, ISSN_index, ISSN_range, IsUnderPostmaster, HASHCTL::keysize, ldap_password_hook, load_external_function(), LOG, loglevel_options, MarkGUCPrefixReserved(), MAX_BLOOM_BITS, MAX_BLOOM_LENGTH, MemoryContextStrdup(), next_exec_check_perms_hook, next_object_access_hook, next_object_access_hook_str, next_ProcessUtility_hook, object_access_hook, object_access_hook_str, relopt_parse_elt::offset, openssl_tls_init_hook, relopt_parse_elt::optname, relopt_parse_elt::opttype, original_client_auth_hook, pg_bindtextdomain(), PGC_POSTMASTER, PGC_SIGHUP, PGC_SUSET, PGC_USERSET, pgfdw_application_name, pgss_ExecutorEnd(), pgss_ExecutorFinish(), pgss_ExecutorRun(), pgss_ExecutorStart(), pgss_max, pgss_planner(), pgss_post_parse_analyze(), pgss_ProcessUtility(), pgss_save, pgss_shmem_request(), pgss_shmem_startup(), pgss_track, pgss_track_planning, PGSS_TRACK_TOP, pgss_track_utility, pgstat_register_inj(), pgstat_register_inj_fixed(), planner_hook, plperl_held_interp, plperl_init_interp(), plperl_interp_hash, plperl_on_init, plperl_on_plperl_init, plperl_on_plperlu_init, plperl_opmask, plperl_proc_hash, plperl_use_strict, plpgsql_check_asserts, plpgsql_extra_checks_check_hook(), plpgsql_extra_errors_assign_hook(), plpgsql_extra_errors_string, plpgsql_extra_warnings_assign_hook(), plpgsql_extra_warnings_string, plpgsql_HashTableInit(), plpgsql_plugin_ptr, plpgsql_print_strict_params, PLPGSQL_RESOLVE_ERROR, plpgsql_subxact_cb(), plpgsql_variable_conflict, plpgsql_xact_cb(), plpython_version_bitmask, plpython_version_bitmask_ptr, pltcl_AlertNotifier(), pltcl_CreateFileHandler(), pltcl_DeleteFileHandler(), pltcl_FinalizeNotifier(), pltcl_hold_interp, pltcl_InitNotifier(), pltcl_interp_htab, pltcl_pm_init_done, pltcl_proc_htab, pltcl_ServiceModeHook(), pltcl_SetTimer(), pltcl_start_proc, pltcl_WaitForEvent(), pltclu_start_proc, PLy_elog_impl(), PLy_elog_impl_p, PLyObject_AsString, PLyObject_AsString_p, PLyUnicode_FromStringAndSize, PLyUnicode_FromStringAndSize_p, post_parse_analyze_hook, post_planning_lock_id, PQWalReceiverFunctions, prev_check_password_hook, prev_ExecutorEnd, prev_ExecutorFinish, prev_ExecutorRun, prev_ExecutorStart, prev_planner_hook, prev_post_parse_analyze_hook, prev_ProcessUtility, prev_shmem_request_hook, prev_shmem_startup_hook, process_shared_preload_libraries_in_progress, ProcessUtility_hook, register_label_provider(), RegisterBackgroundWorker(), RegisterCustomRmgr(), RegisterSubXactCallback(), RegisterXactCallback(), REGRESS_audit, REGRESS_deny_alter_system, REGRESS_deny_exec_perms, REGRESS_deny_object_access, REGRESS_deny_set_variable, REGRESS_deny_utility_commands, REGRESS_exec_check_perms(), REGRESS_object_access_hook(), REGRESS_object_access_hook_str(), REGRESS_suset_variable1, REGRESS_suset_variable2, REGRESS_userset_variable1, REGRESS_userset_variable2, REGRESS_utility_command(), RELOPT_TYPE_INT, RM_TESTCUSTOMRMGRS_ID, rot13_passphrase(), row_security_policy_hook_permissive, row_security_policy_hook_restrictive, sepgsql_avc_init(), sepgsql_context_info, sepgsql_debug_audit, sepgsql_exec_check_perms(), sepgsql_init_client_label(), SEPGSQL_LABEL_TAG, SEPGSQL_MODE_DISABLED, sepgsql_object_access(), sepgsql_object_relabel(), sepgsql_permissive, sepgsql_set_mode(), sepgsql_utility_command(), set_rot13(), shell_check_detail(), shell_command, shell_get_sink(), shell_required_role, shmem_request_hook, shmem_startup_hook, similarity_threshold, snprintf, sprintf, ssl_passphrase, strict_word_similarity_threshold, test_rls_hooks_permissive(), test_rls_hooks_restrictive(), test_slru_shmem_request(), test_slru_shmem_startup(), testcustomrmgrs_rmgr, TEXTDOMAIN, TopMemoryContext, track_options, UPC_index, UPC_range, variable_conflict_options, WalReceiverFunctions, word_similarity_threshold, worker_spi_database, worker_spi_naptime, worker_spi_role, and worker_spi_total_workers.
int AggCheckCallContext | ( | FunctionCallInfo | fcinfo, |
MemoryContext * | aggcontext | ||
) |
Definition at line 4511 of file nodeAgg.c.
References AGG_CONTEXT_AGGREGATE, AGG_CONTEXT_WINDOW, FunctionCallInfoBaseData::context, AggState::curaggcontext, ExprContext::ecxt_per_tuple_memory, and IsA.
Referenced by array_agg_array_combine(), array_agg_array_deserialize(), array_agg_array_finalfn(), array_agg_array_serialize(), array_agg_array_transfn(), array_agg_combine(), array_agg_deserialize(), array_agg_finalfn(), array_agg_serialize(), array_agg_transfn(), bytea_string_agg_finalfn(), fetch_array_arg_replace_nulls(), float4_accum(), float8_accum(), float8_combine(), float8_regr_accum(), float8_regr_combine(), hypothetical_dense_rank_final(), hypothetical_rank_common(), int2_avg_accum(), int2_avg_accum_inv(), int2_sum(), int4_avg_accum(), int4_avg_accum_inv(), int4_avg_combine(), int4_sum(), int8_avg_combine(), int8_avg_deserialize(), int8_avg_serialize(), int8dec(), int8inc(), interval_avg_deserialize(), interval_avg_serialize(), json_agg_finalfn(), json_agg_transfn_worker(), json_object_agg_finalfn(), json_object_agg_transfn_worker(), jsonb_agg_finalfn(), jsonb_agg_transfn_worker(), jsonb_object_agg_finalfn(), jsonb_object_agg_transfn_worker(), makeBoolAggState(), makeIntervalAggState(), makeNumericAggState(), makeStringAggState(), mode_final(), multirange_agg_transfn(), multirange_intersect_agg_transfn(), numeric_avg_combine(), numeric_avg_deserialize(), numeric_avg_serialize(), numeric_combine(), numeric_deserialize(), numeric_poly_combine(), numeric_poly_deserialize(), numeric_poly_serialize(), numeric_serialize(), ordered_set_startup(), percentile_cont_final_common(), percentile_cont_multi_final_common(), percentile_disc_final(), percentile_disc_multi_final(), range_agg_finalfn(), range_agg_transfn(), range_intersect_agg_transfn(), string_agg_combine(), string_agg_deserialize(), string_agg_finalfn(), and string_agg_serialize().
fmAggrefPtr AggGetAggref | ( | FunctionCallInfo | fcinfo | ) |
Definition at line 4555 of file nodeAgg.c.
References AggStatePerTransData::aggref, FunctionCallInfoBaseData::context, AggState::curperagg, AggState::curpertrans, if(), and IsA.
Referenced by ordered_set_startup().
MemoryContext AggGetTempMemoryContext | ( | FunctionCallInfo | fcinfo | ) |
Definition at line 4589 of file nodeAgg.c.
References FunctionCallInfoBaseData::context, ExprContext::ecxt_per_tuple_memory, IsA, and AggState::tmpcontext.
void AggRegisterCallback | ( | FunctionCallInfo | fcinfo, |
fmExprContextCallbackFunction | func, | ||
Datum | arg | ||
) |
Definition at line 4654 of file nodeAgg.c.
References arg, FunctionCallInfoBaseData::context, AggState::curaggcontext, elog, ERROR, IsA, and RegisterExprContextCallback().
Referenced by ordered_set_startup().
bool AggStateIsShared | ( | FunctionCallInfo | fcinfo | ) |
Definition at line 4615 of file nodeAgg.c.
References AggStatePerTransData::aggshared, FunctionCallInfoBaseData::context, AggState::curperagg, AggState::curpertrans, if(), IsA, and AggState::pertrans.
Referenced by ordered_set_startup().
Datum CallerFInfoFunctionCall1 | ( | PGFunction | func, |
FmgrInfo * | flinfo, | ||
Oid | collation, | ||
Datum | arg1 | ||
) |
Definition at line 1065 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, InitFunctionCallInfoData, and LOCAL_FCINFO.
Datum CallerFInfoFunctionCall2 | ( | PGFunction | func, |
FmgrInfo * | flinfo, | ||
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2 | ||
) |
Definition at line 1085 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by gbt_enumge(), gbt_enumgt(), gbt_enumkey_cmp(), gbt_enumle(), gbt_enumlt(), gin_btree_compare_prefix(), and gin_enum_cmp().
Definition at line 2145 of file fmgr.c.
References ACL_EXECUTE, ACL_USAGE, aclcheck_error(), ACLCHECK_OK, elog, ereport, errcode(), errmsg(), ERROR, GETSTRUCT, GetUserId(), HeapTupleIsValid, NameStr, object_aclcheck(), OBJECT_FUNCTION, OBJECT_LANGUAGE, ObjectIdGetDatum(), ReleaseSysCache(), and SearchSysCache1().
Referenced by fmgr_c_validator(), fmgr_internal_validator(), fmgr_sql_validator(), plperl_validator(), plpgsql_validator(), and plpython3_validator().
Datum DirectFunctionCall1Coll | ( | PGFunction | func, |
Oid | collation, | ||
Datum | arg1 | ||
) |
Definition at line 792 of file fmgr.c.
References elog, ERROR, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by Generic_Text_IC_like(), libpqrcv_create_slot(), and texthashfast().
Datum DirectFunctionCall2Coll | ( | PGFunction | func, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2 | ||
) |
Definition at line 812 of file fmgr.c.
References elog, ERROR, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by gbt_bpcharcmp(), gbt_bpchareq(), gbt_bpcharge(), gbt_bpchargt(), gbt_bpcharle(), gbt_bpcharlt(), gbt_textcmp(), gbt_texteq(), gbt_textge(), gbt_textgt(), gbt_textle(), gbt_textlt(), spg_text_leaf_consistent(), text_isequal(), and texteqfast().
Datum DirectFunctionCall3Coll | ( | PGFunction | func, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3 | ||
) |
Definition at line 834 of file fmgr.c.
References elog, ERROR, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by execute_extension_script().
Datum DirectFunctionCall4Coll | ( | PGFunction | func, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4 | ||
) |
Definition at line 859 of file fmgr.c.
References elog, ERROR, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by execute_extension_script().
Datum DirectFunctionCall5Coll | ( | PGFunction | func, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5 | ||
) |
Definition at line 886 of file fmgr.c.
References elog, ERROR, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by neqjoinsel().
Datum DirectFunctionCall6Coll | ( | PGFunction | func, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6 | ||
) |
Definition at line 915 of file fmgr.c.
References elog, ERROR, InitFunctionCallInfoData, and LOCAL_FCINFO.
Datum DirectFunctionCall7Coll | ( | PGFunction | func, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6, | ||
Datum | arg7 | ||
) |
Definition at line 947 of file fmgr.c.
References elog, ERROR, InitFunctionCallInfoData, and LOCAL_FCINFO.
Datum DirectFunctionCall8Coll | ( | PGFunction | func, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6, | ||
Datum | arg7, | ||
Datum | arg8 | ||
) |
Definition at line 981 of file fmgr.c.
References elog, ERROR, InitFunctionCallInfoData, and LOCAL_FCINFO.
Datum DirectFunctionCall9Coll | ( | PGFunction | func, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6, | ||
Datum | arg7, | ||
Datum | arg8, | ||
Datum | arg9 | ||
) |
Definition at line 1017 of file fmgr.c.
References elog, ERROR, InitFunctionCallInfoData, and LOCAL_FCINFO.
bool DirectInputFunctionCallSafe | ( | PGFunction | func, |
char * | str, | ||
Oid | typioparam, | ||
int32 | typmod, | ||
fmNodePtr | escontext, | ||
Datum * | result | ||
) |
Definition at line 1640 of file fmgr.c.
References CStringGetDatum(), elog, ERROR, InitFunctionCallInfoData, Int32GetDatum(), InvalidOid, LOCAL_FCINFO, ObjectIdGetDatum(), SOFT_ERROR_OCCURRED, and str.
Referenced by executeItemOptUnwrapTarget(), jsonb_in_scalar(), parseNumericOid(), to_regclass(), to_regcollation(), to_regnamespace(), to_regoper(), to_regoperator(), to_regproc(), to_regprocedure(), to_regrole(), and to_regtype().
Size EstimateLibraryStateSpace | ( | void | ) |
Definition at line 641 of file dfmgr.c.
References add_size(), file_list, df_files::filename, df_files::next, and size.
Referenced by InitializeParallelDSM().
const Pg_finfo_record* fetch_finfo_record | ( | void * | filehandle, |
const char * | funcname | ||
) |
Definition at line 455 of file fmgr.c.
References Pg_finfo_record::api_version, elog, ereport, errcode(), errhint(), errmsg(), ERROR, funcname, lookup_external_function(), pfree(), and psprintf().
Referenced by fmgr_c_validator(), and fmgr_info_C_lang().
void** find_rendezvous_variable | ( | const char * | varName | ) |
Definition at line 603 of file dfmgr.c.
References ctl, hash_create(), HASH_ELEM, HASH_ENTER, hash_search(), HASH_STRINGS, NAMEDATALEN, and rendezvousHashEntry::varValue.
Referenced by _PG_init().
Definition at line 127 of file fmgr.c.
References CurrentMemoryContext, and fmgr_info_cxt_security().
Referenced by _bt_compare_array_scankey_args(), _bt_find_extreme_element(), _sv_to_datum_finfo(), attribute_statistics_update(), BeginCopyFrom(), brin_minmax_multi_summary_out(), brin_page_items(), build_pertrans_for_aggref(), call_pltcl_start_proc(), CompareOpclassOptions(), compute_distinct_stats(), create_foreign_modify(), DoCopyTo(), eqjoinsel_inner(), eqjoinsel_semi(), EventTriggerInvoke(), ExecBuildGroupingEqual(), ExecBuildHash32Expr(), ExecBuildParamSetEqual(), ExecCallTriggerFunc(), ExecEvalHashedScalarArrayOp(), ExecInitAgg(), ExecInitExprRec(), ExecInitFunc(), ExecInitHashJoin(), ExecInitJsonExpr(), ExecInitMemoize(), ExecInitSubPlan(), ExecInitTableFuncScan(), ExecInitWindowAgg(), execTuplesHashPrepare(), ExecuteCallStmt(), fetch_fp_info(), generic_restriction_selectivity(), get_stats_slot_range(), gincost_pattern(), hash_array(), inet_mcv_join_sel(), initialize_peragg(), match_pattern_prefix(), mcv_get_match_bitmap(), networkjoinsel_semi(), networksel(), OidFunctionCall0Coll(), OidFunctionCall1Coll(), OidFunctionCall2Coll(), OidFunctionCall3Coll(), OidFunctionCall4Coll(), OidFunctionCall5Coll(), OidFunctionCall6Coll(), OidFunctionCall7Coll(), OidFunctionCall8Coll(), OidFunctionCall9Coll(), OidInputFunctionCall(), OidOutputFunctionCall(), OidReceiveFunctionCall(), OidSendFunctionCall(), patternsel_common(), pg_get_catalog_foreign_keys(), pg_stats_ext_mcvlist_items(), plperl_ref_from_pg_array(), prefix_selectivity(), prepare_query_params(), printtup_prepare_info(), scalararraysel(), scalarineqsel(), ScanKeyEntryInitialize(), ScanKeyInit(), serialize_prepare_info(), text_format(), TupleDescGetAttInMetadata(), and var_eq_const().
void fmgr_info_copy | ( | FmgrInfo * | dstinfo, |
FmgrInfo * | srcinfo, | ||
MemoryContext | destcxt | ||
) |
Definition at line 580 of file fmgr.c.
References FmgrInfo::fn_extra, and FmgrInfo::fn_mcxt.
Referenced by bloom_get_procinfo(), bringetbitmap(), find_partition_scheme(), gistrescan(), inclusion_get_procinfo(), initBloomState(), initGinState(), initGISTstate(), minmax_multi_get_procinfo(), perform_pruning_base_step(), satisfies_hash_partition(), ScanKeyEntryInitializeWithInfo(), and spgbeginscan().
void fmgr_info_cxt | ( | Oid | functionId, |
FmgrInfo * | finfo, | ||
MemoryContext | mcxt | ||
) |
Definition at line 137 of file fmgr.c.
References fmgr_info_cxt_security().
Referenced by _bt_merge_arrays(), _bt_setup_array_cmp(), array_agg_deserialize(), array_agg_serialize(), array_in(), array_out(), array_position_common(), array_positions(), array_recv(), array_send(), array_to_text_internal(), build_concat_foutcache(), CatalogCacheInitializeCache(), compile_plperl_function(), compile_pltcl_function(), domain_state_setup(), ExecInitWindowAgg(), get_multirange_io_data(), get_range_io_data(), hstore_from_record(), hstore_populate_record(), inclusion_get_strategy_procinfo(), index_getprocinfo(), init_sexpr(), InitializeClientEncoding(), InitializeRelfilenumberMap(), load_rangetype_info(), lookup_ts_dictionary_cache(), lookup_ts_parser_cache(), lookup_type_cache(), minmax_get_strategy_procinfo(), minmax_multi_get_strategy_procinfo(), mode_final(), perform_pruning_base_step(), pg_input_is_valid_common(), plperl_spi_prepare(), plsample_func_handler(), pltcl_SPI_prepare(), PLy_input_setup_func(), PLy_output_setup_func(), PLyUnicode_ToComposite(), prepare_column_cache(), PrepareClientEncoding(), preparePresortedCols(), PrepareSortSupportComparisonShim(), record_in(), record_out(), record_recv(), record_send(), RelationBuildPartitionKey(), and ri_HashCompareOp().
Oid fmgr_internal_function | ( | const char * | proname | ) |
Definition at line 595 of file fmgr.c.
References fmgr_lookupByName(), FmgrBuiltin::foid, InvalidOid, and proname.
Referenced by fmgr_internal_validator().
void fmgr_symbol | ( | Oid | functionId, |
char ** | mod, | ||
char ** | fn | ||
) |
Definition at line 281 of file fmgr.c.
References elog, ERROR, FmgrHookIsNeeded, fn(), GETSTRUCT, heap_attisnull(), HeapTupleIsValid, ObjectIdGetDatum(), pstrdup(), ReleaseSysCache(), SearchSysCache1(), SysCacheGetAttrNotNull(), and TextDatumGetCString.
Referenced by llvm_function_reference().
Definition at line 1112 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by OidFunctionCall0Coll().
Definition at line 1129 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by _hash_datum2hashkey(), brin_bloom_add_value(), brin_bloom_consistent(), brin_inclusion_add_value(), element_hash(), ExecHashBuildSkewHash(), gistCompressValues(), gistdentryinit(), gistFetchAtt(), hash_multirange(), hash_range(), MemoizeHash_hash(), OidFunctionCall1Coll(), signValue(), spgdoinsert(), and TupleHashTableHash_internal().
Definition at line 1149 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by _bt_check_compare(), _bt_check_rowcompare(), _bt_compare(), _bt_compare_array_elements(), _bt_compare_array_skey(), _bt_compare_scankey_args(), _bt_find_extreme_element(), _bt_keep_natts(), _hash_checkqual(), array_position_common(), array_positions(), AssertCheckExpandedRanges(), AssertCheckRanges(), brin_inclusion_add_value(), brin_inclusion_consistent(), brin_inclusion_union(), brin_minmax_add_value(), brin_minmax_consistent(), brin_minmax_multi_consistent(), brin_minmax_union(), build_distances(), call_subtype_diff(), cmpEntries(), compare_expanded_ranges(), compare_values(), CompareOpclassOptions(), compute_distinct_stats(), compute_partition_hash_value(), compute_range_stats(), create_range_bounds(), doPickSplit(), element_compare(), ExecEvalPreOrderedDistinctSingle(), execTuplesUnequal(), genericPickSplit(), get_distance(), get_partition_for_tuple(), get_position(), get_stats_slot_range(), ginCompareEntries(), gistMakeUnionItVec(), gistMakeUnionKey(), gistUserPicksplit(), has_matching_range(), hash_multirange_extended(), hash_range_extended(), HeapKeyTest(), ineq_histogram_selectivity(), make_greater_string(), mcv_get_match_bitmap(), merge_list_bounds(), merge_overlapping_ranges(), mode_final(), multirange_elem_bsearch_comparison(), OidFunctionCall2Coll(), partition_list_bsearch(), partition_rbound_cmp(), partition_rbound_datum_cmp(), process_ordered_aggregate_single(), qsort_partition_list_value_cmp(), range_cmp_bound_values(), range_cmp_bounds(), range_contains_elem_internal(), range_contains_value(), ri_CompareWithCast(), satisfies_hash_partition(), spgdoinsert(), spgGetCache(), spgInnerTest(), spgLeafTest(), and tuples_equal().
Definition at line 1171 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by bringetbitmap(), ginExtractEntries(), gistKeyIsEQ(), gistpenalty(), OidFunctionCall3Coll(), and union_tuples().
Datum FunctionCall4Coll | ( | FmgrInfo * | flinfo, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4 | ||
) |
Definition at line 1196 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by add_values_to_range(), bringetbitmap(), collectMatchBitmap(), matchPartialInPendingList(), OidFunctionCall4Coll(), and scalararraysel().
Datum FunctionCall5Coll | ( | FmgrInfo * | flinfo, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5 | ||
) |
Definition at line 1223 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by gistindex_keytest(), OidFunctionCall5Coll(), scalararraysel(), update_frameheadpos(), and update_frametailpos().
Datum FunctionCall6Coll | ( | FmgrInfo * | flinfo, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6 | ||
) |
Definition at line 1252 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by OidFunctionCall6Coll().
Datum FunctionCall7Coll | ( | FmgrInfo * | flinfo, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6, | ||
Datum | arg7 | ||
) |
Definition at line 1284 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by directTriConsistentFn(), gincost_pattern(), OidFunctionCall7Coll(), and shimBoolConsistentFn().
Datum FunctionCall8Coll | ( | FmgrInfo * | flinfo, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6, | ||
Datum | arg7, | ||
Datum | arg8 | ||
) |
Definition at line 1318 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by directBoolConsistentFn(), and OidFunctionCall8Coll().
Datum FunctionCall9Coll | ( | FmgrInfo * | flinfo, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6, | ||
Datum | arg7, | ||
Datum | arg8, | ||
Datum | arg9 | ||
) |
Definition at line 1354 of file fmgr.c.
References elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FunctionCallInvoke, InitFunctionCallInfoData, and LOCAL_FCINFO.
Referenced by OidFunctionCall9Coll().
Definition at line 1975 of file fmgr.c.
References FmgrInfo::fn_expr, and get_call_expr_arg_stable().
Referenced by extract_variadic_args(), leadlag_common(), pg_input_is_valid_common(), and window_nth_value().
Definition at line 1910 of file fmgr.c.
References FmgrInfo::fn_expr, get_call_expr_argtype(), and InvalidOid.
Referenced by array_agg_array_transfn(), array_agg_transfn(), array_fill(), array_fill_with_lower_bounds(), build_concat_foutcache(), concat_internal(), count_nulls(), dblink_close(), dblink_exec(), dblink_fetch(), dblink_open(), dblink_record_internal(), enum_first(), enum_last(), enum_range_all(), enum_range_bounds(), extract_variadic_args(), fetch_array_arg_replace_nulls(), get_record_type_from_argument(), hstore_from_record(), hstore_populate_record(), hypothetical_check_argtypes(), json_agg_transfn_worker(), json_object_agg_transfn_worker(), jsonb_agg_transfn_worker(), jsonb_object_agg_transfn_worker(), multirange_agg_transfn(), multirange_intersect_agg_transfn(), pg_collation_for(), pg_column_compression(), pg_column_size(), pg_column_toast_chunk_id(), pg_typeof(), range_agg_transfn(), range_intersect_agg_transfn(), satisfies_hash_partition(), text_format(), to_json(), and to_jsonb().
Definition at line 1888 of file fmgr.c.
References exprType(), FmgrInfo::fn_expr, and InvalidOid.
Referenced by do_compile(), multirange_constructor0(), multirange_constructor1(), multirange_constructor2(), range_agg_finalfn(), range_constructor2(), and range_constructor3().
Definition at line 2044 of file fmgr.c.
References FmgrInfo::fn_expr, and IsA.
Referenced by concat_internal(), count_nulls(), extract_variadic_args(), satisfies_hash_partition(), and text_format().
Definition at line 2097 of file fmgr.c.
References Const::consttype, DatumGetByteaP, ereport, errcode(), errmsg(), ERROR, FmgrInfo::fn_expr, if(), and IsA.
Definition at line 2081 of file fmgr.c.
References Const::consttype, FmgrInfo::fn_expr, if(), and IsA.
Definition at line 1530 of file fmgr.c.
References CStringGetDatum(), elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FmgrInfo::fn_strict, FunctionCallInvoke, InitFunctionCallInfoData, Int32GetDatum(), InvalidOid, LOCAL_FCINFO, ObjectIdGetDatum(), and str.
Referenced by BuildTupleFromCStrings(), hstore_populate_record(), make_tuple_from_result_row(), OidInputFunctionCall(), plperl_sv_to_datum(), plsample_func_handler(), pltcl_func_handler(), pltcl_returnnext(), pltcl_SPI_execute_plan(), PLyObject_ToScalar(), PLyUnicode_ToComposite(), and XmlTableGetValue().
bool InputFunctionCallSafe | ( | FmgrInfo * | flinfo, |
char * | str, | ||
Oid | typioparam, | ||
int32 | typmod, | ||
fmNodePtr | escontext, | ||
Datum * | result | ||
) |
Definition at line 1585 of file fmgr.c.
References CStringGetDatum(), elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FmgrInfo::fn_strict, FunctionCallInvoke, InitFunctionCallInfoData, Int32GetDatum(), InvalidOid, LOCAL_FCINFO, ObjectIdGetDatum(), SOFT_ERROR_OCCURRED, and str.
Referenced by domain_in(), multirange_in(), NextCopyFrom(), pg_input_is_valid_common(), populate_scalar(), range_in(), ReadArrayStr(), and record_in().
void* load_external_function | ( | const char * | filename, |
const char * | funcname, | ||
bool | signalNotFound, | ||
void ** | filehandle | ||
) |
Definition at line 105 of file dfmgr.c.
References dlsym(), ereport, errcode(), errmsg(), ERROR, expand_dynamic_library_name(), filename, funcname, internal_load_library(), and pfree().
Referenced by _PG_init(), fmgr_c_validator(), fmgr_info_C_lang(), llvm_resolve_symbol(), LoadArchiveLibrary(), LoadOutputPlugin(), LookupBackgroundWorkerFunction(), LookupParallelWorkerFunction(), and provider_init().
void load_file | ( | const char * | filename, |
bool | restricted | ||
) |
Definition at line 144 of file dfmgr.c.
References check_restricted_library_name(), expand_dynamic_library_name(), filename, internal_load_library(), and pfree().
Referenced by AlterSubscription(), AlterSubscription_refresh(), CreateSubscription(), DropSubscription(), load_libraries(), pg_sync_replication_slots(), ReplicationSlotDropAtPubNode(), ReplSlotSyncWorkerMain(), SetupApplyOrSyncWorker(), standard_ProcessUtility(), and WalReceiverMain().
void* lookup_external_function | ( | void * | filehandle, |
const char * | funcname | ||
) |
Definition at line 1401 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall0Coll().
Definition at line 1411 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall1Coll().
Referenced by _bt_allequalimage(), _hash_datum2hashkey_type(), and GistTranslateStratnum().
Definition at line 1421 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall2Coll().
Referenced by _bt_compare_scankey_args(), and index_recheck_constraint().
Definition at line 1431 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall3Coll().
Datum OidFunctionCall4Coll | ( | Oid | functionId, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4 | ||
) |
Definition at line 1442 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall4Coll().
Referenced by restriction_selectivity().
Datum OidFunctionCall5Coll | ( | Oid | functionId, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5 | ||
) |
Definition at line 1453 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall5Coll().
Referenced by join_selectivity().
Datum OidFunctionCall6Coll | ( | Oid | functionId, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6 | ||
) |
Definition at line 1464 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall6Coll().
Datum OidFunctionCall7Coll | ( | Oid | functionId, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6, | ||
Datum | arg7 | ||
) |
Definition at line 1477 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall7Coll().
Datum OidFunctionCall8Coll | ( | Oid | functionId, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6, | ||
Datum | arg7, | ||
Datum | arg8 | ||
) |
Definition at line 1490 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall8Coll().
Datum OidFunctionCall9Coll | ( | Oid | functionId, |
Oid | collation, | ||
Datum | arg1, | ||
Datum | arg2, | ||
Datum | arg3, | ||
Datum | arg4, | ||
Datum | arg5, | ||
Datum | arg6, | ||
Datum | arg7, | ||
Datum | arg8, | ||
Datum | arg9 | ||
) |
Definition at line 1503 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), and FunctionCall9Coll().
Definition at line 1754 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), InputFunctionCall(), and str.
Referenced by DefineAggregate(), exec_bind_message(), get_typdefault(), GetAggInitVal(), InsertOneValue(), parse_fcall_arguments(), slot_modify_data(), slot_store_data(), and stringTypeDatum().
Definition at line 1763 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), OutputFunctionCall(), and val.
Referenced by brin_minmax_multi_summary_out(), BuildIndexValueDescription(), BuildParamLogString(), convert_value_to_string(), datum_to_json_internal(), datum_to_jsonb_internal(), debugtup(), deparseConst(), ExecBuildSlotPartitionKeyDescription(), ExecBuildSlotValueDescription(), get_const_expr(), gist_page_items(), InsertOneValue(), logicalrep_write_tuple(), map_sql_value_to_xml_value(), plperl_hash_from_tuple(), plperl_sv_to_literal(), pltcl_build_tuple_argument(), pltcl_set_tuple_values(), print_expr(), ri_ReportViolation(), SendFunctionResult(), set_limit(), SPI_getvalue(), and tuple_to_stringinfo().
Datum OidReceiveFunctionCall | ( | Oid | functionId, |
fmStringInfo | buf, | ||
Oid | typioparam, | ||
int32 | typmod | ||
) |
Definition at line 1772 of file fmgr.c.
References buf, fmgr_security_definer_cache::flinfo, fmgr_info(), and ReceiveFunctionCall().
Referenced by exec_bind_message(), parse_fcall_arguments(), slot_modify_data(), and slot_store_data().
Definition at line 1782 of file fmgr.c.
References fmgr_security_definer_cache::flinfo, fmgr_info(), SendFunctionCall(), and val.
Referenced by logicalrep_write_tuple(), and SendFunctionResult().
Definition at line 1683 of file fmgr.c.
References DatumGetCString(), fmgr_security_definer_cache::flinfo, FunctionCall1, and val.
Referenced by array_out(), array_to_text_internal(), brin_minmax_multi_summary_out(), brin_page_items(), concat_internal(), convert_prep_stmt_params(), CopyOneRowTo(), hstore_from_record(), make_array_ref(), multirange_out(), OidOutputFunctionCall(), plperl_call_perl_func(), plsample_func_handler(), pltcl_func_handler(), PLyUnicode_FromScalar(), printtup(), process_query_params(), range_out(), record_out(), serializeAnalyzeReceive(), text_format(), and text_format_string_conversion().
Definition at line 1841 of file fmgr.c.
References detoast_attr(), len, palloc(), VARATT_IS_EXTENDED, and VARSIZE.
Referenced by tuple_data_split_internal().
Definition at line 1864 of file fmgr.c.
References detoast_attr(), VARATT_IS_COMPRESSED, and VARATT_IS_EXTERNAL.
Referenced by escape_json_text(), makeJsonLexContext(), text_to_cstring(), text_to_cstring_buffer(), and transform_jsonb_string_values().
Definition at line 1857 of file fmgr.c.
References detoast_attr_slice().
Datum ReceiveFunctionCall | ( | FmgrInfo * | flinfo, |
fmStringInfo | buf, | ||
Oid | typioparam, | ||
int32 | typmod | ||
) |
Definition at line 1697 of file fmgr.c.
References buf, elog, ERROR, fmgr_security_definer_cache::flinfo, FmgrInfo::fn_oid, FmgrInfo::fn_strict, FunctionCallInvoke, InitFunctionCallInfoData, Int32GetDatum(), InvalidOid, LOCAL_FCINFO, ObjectIdGetDatum(), and PointerGetDatum().
Referenced by array_agg_deserialize(), CopyReadBinaryAttribute(), domain_recv(), multirange_recv(), OidReceiveFunctionCall(), range_recv(), ReadArrayBinary(), and record_recv().
void RestoreLibraryState | ( | char * | start_address | ) |
Definition at line 680 of file dfmgr.c.
References internal_load_library().
Referenced by ParallelWorkerMain().
Definition at line 1744 of file fmgr.c.
References DatumGetByteaP, fmgr_security_definer_cache::flinfo, FunctionCall1, and val.
Referenced by array_agg_serialize(), array_send(), CopyOneRowTo(), multirange_send(), OidSendFunctionCall(), printtup(), range_send(), record_send(), and serializeAnalyzeReceive().
void SerializeLibraryState | ( | Size | maxsize, |
char * | start_address | ||
) |
Definition at line 658 of file dfmgr.c.
References Assert, file_list, df_files::filename, len, df_files::next, and strlcpy().
Referenced by InitializeParallelDSM().
Definition at line 2070 of file fmgr.c.
References FmgrInfo::fn_expr, InvalidOid, makeConst(), and PointerGetDatum().
Referenced by gincost_pattern(), and index_getprocinfo().
StaticAssertDecl | ( | sizeof(FMGR_ABI_EXTRA)<=sizeof(((Pg_magic_struct *) 0) ->abi_extra) | , |
"FMGR_ABI_EXTRA too long" | |||
) |
|
extern |
Definition at line 77 of file dfmgr.c.
Referenced by find_in_dynamic_libpath().
|
extern |
Definition at line 40 of file fmgr.c.
Referenced by fmgr_security_definer(), and sepgsql_init_client_label().
|
extern |
Definition at line 39 of file fmgr.c.
Referenced by sepgsql_init_client_label().