PostgreSQL Source Code  git master
fmgr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  FmgrInfo
 
struct  FunctionCallInfoData
 
struct  Pg_finfo_record
 
struct  Pg_magic_struct
 

Macros

#define FIELDNO_FUNCTIONCALLINFODATA_ISNULL   4
 
#define FIELDNO_FUNCTIONCALLINFODATA_ARG   6
 
#define FIELDNO_FUNCTIONCALLINFODATA_ARGNULL   7
 
#define fmgr_info_set_expr(expr, finfo)   ((finfo)->fn_expr = (expr))
 
#define InitFunctionCallInfoData(Fcinfo, Flinfo, Nargs, Collation, Context, Resultinfo)
 
#define FunctionCallInvoke(fcinfo)   ((* (fcinfo)->flinfo->fn_addr) (fcinfo))
 
#define PG_FUNCTION_ARGS   FunctionCallInfo fcinfo
 
#define PG_GET_COLLATION()   (fcinfo->fncollation)
 
#define PG_NARGS()   (fcinfo->nargs)
 
#define PG_ARGISNULL(n)   (fcinfo->argnull[n])
 
#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_SLICE(datum, f, c)
 
#define PG_DETOAST_DATUM_PACKED(datum)   pg_detoast_datum_packed((struct varlena *) DatumGetPointer(datum))
 
#define PG_FREE_IF_COPY(ptr, n)
 
#define PG_GETARG_DATUM(n)   (fcinfo->arg[n])
 
#define PG_GETARG_INT32(n)   DatumGetInt32(PG_GETARG_DATUM(n))
 
#define PG_GETARG_UINT32(n)   DatumGetUInt32(PG_GETARG_DATUM(n))
 
#define PG_GETARG_INT16(n)   DatumGetInt16(PG_GETARG_DATUM(n))
 
#define PG_GETARG_UINT16(n)   DatumGetUInt16(PG_GETARG_DATUM(n))
 
#define PG_GETARG_CHAR(n)   DatumGetChar(PG_GETARG_DATUM(n))
 
#define PG_GETARG_BOOL(n)   DatumGetBool(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_CSTRING(n)   DatumGetCString(PG_GETARG_DATUM(n))
 
#define PG_GETARG_NAME(n)   DatumGetName(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_INT64(n)   DatumGetInt64(PG_GETARG_DATUM(n))
 
#define PG_GETARG_RAW_VARLENA_P(n)   ((struct varlena *) PG_GETARG_POINTER(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 DatumGetByteaPP(X)   ((bytea *) PG_DETOAST_DATUM_PACKED(X))
 
#define DatumGetTextPP(X)   ((text *) PG_DETOAST_DATUM_PACKED(X))
 
#define DatumGetBpCharPP(X)   ((BpChar *) PG_DETOAST_DATUM_PACKED(X))
 
#define DatumGetVarCharPP(X)   ((VarChar *) PG_DETOAST_DATUM_PACKED(X))
 
#define DatumGetHeapTupleHeader(X)   ((HeapTupleHeader) PG_DETOAST_DATUM(X))
 
#define DatumGetByteaPCopy(X)   ((bytea *) PG_DETOAST_DATUM_COPY(X))
 
#define DatumGetTextPCopy(X)   ((text *) PG_DETOAST_DATUM_COPY(X))
 
#define DatumGetBpCharPCopy(X)   ((BpChar *) PG_DETOAST_DATUM_COPY(X))
 
#define DatumGetVarCharPCopy(X)   ((VarChar *) PG_DETOAST_DATUM_COPY(X))
 
#define DatumGetHeapTupleHeaderCopy(X)   ((HeapTupleHeader) PG_DETOAST_DATUM_COPY(X))
 
#define DatumGetByteaPSlice(X, m, n)   ((bytea *) PG_DETOAST_DATUM_SLICE(X,m,n))
 
#define DatumGetTextPSlice(X, m, n)   ((text *) PG_DETOAST_DATUM_SLICE(X,m,n))
 
#define DatumGetBpCharPSlice(X, m, n)   ((BpChar *) PG_DETOAST_DATUM_SLICE(X,m,n))
 
#define DatumGetVarCharPSlice(X, m, n)   ((VarChar *) PG_DETOAST_DATUM_SLICE(X,m,n))
 
#define PG_GETARG_BYTEA_PP(n)   DatumGetByteaPP(PG_GETARG_DATUM(n))
 
#define PG_GETARG_TEXT_PP(n)   DatumGetTextPP(PG_GETARG_DATUM(n))
 
#define PG_GETARG_BPCHAR_PP(n)   DatumGetBpCharPP(PG_GETARG_DATUM(n))
 
#define PG_GETARG_VARCHAR_PP(n)   DatumGetVarCharPP(PG_GETARG_DATUM(n))
 
#define PG_GETARG_HEAPTUPLEHEADER(n)   DatumGetHeapTupleHeader(PG_GETARG_DATUM(n))
 
#define PG_GETARG_BYTEA_P_COPY(n)   DatumGetByteaPCopy(PG_GETARG_DATUM(n))
 
#define PG_GETARG_TEXT_P_COPY(n)   DatumGetTextPCopy(PG_GETARG_DATUM(n))
 
#define PG_GETARG_BPCHAR_P_COPY(n)   DatumGetBpCharPCopy(PG_GETARG_DATUM(n))
 
#define PG_GETARG_VARCHAR_P_COPY(n)   DatumGetVarCharPCopy(PG_GETARG_DATUM(n))
 
#define PG_GETARG_HEAPTUPLEHEADER_COPY(n)   DatumGetHeapTupleHeaderCopy(PG_GETARG_DATUM(n))
 
#define PG_GETARG_BYTEA_P_SLICE(n, a, b)   DatumGetByteaPSlice(PG_GETARG_DATUM(n),a,b)
 
#define PG_GETARG_TEXT_P_SLICE(n, a, b)   DatumGetTextPSlice(PG_GETARG_DATUM(n),a,b)
 
#define PG_GETARG_BPCHAR_P_SLICE(n, a, b)   DatumGetBpCharPSlice(PG_GETARG_DATUM(n),a,b)
 
#define PG_GETARG_VARCHAR_P_SLICE(n, a, b)   DatumGetVarCharPSlice(PG_GETARG_DATUM(n),a,b)
 
#define DatumGetByteaP(X)   ((bytea *) PG_DETOAST_DATUM(X))
 
#define DatumGetTextP(X)   ((text *) PG_DETOAST_DATUM(X))
 
#define DatumGetBpCharP(X)   ((BpChar *) PG_DETOAST_DATUM(X))
 
#define DatumGetVarCharP(X)   ((VarChar *) PG_DETOAST_DATUM(X))
 
#define PG_GETARG_BYTEA_P(n)   DatumGetByteaP(PG_GETARG_DATUM(n))
 
#define PG_GETARG_TEXT_P(n)   DatumGetTextP(PG_GETARG_DATUM(n))
 
#define PG_GETARG_BPCHAR_P(n)   DatumGetBpCharP(PG_GETARG_DATUM(n))
 
#define PG_GETARG_VARCHAR_P(n)   DatumGetVarCharP(PG_GETARG_DATUM(n))
 
#define PG_RETURN_NULL()   do { fcinfo->isnull = true; return (Datum) 0; } while (0)
 
#define PG_RETURN_VOID()   return (Datum) 0
 
#define PG_RETURN_DATUM(x)   return (x)
 
#define PG_RETURN_INT32(x)   return Int32GetDatum(x)
 
#define PG_RETURN_UINT32(x)   return UInt32GetDatum(x)
 
#define PG_RETURN_INT16(x)   return Int16GetDatum(x)
 
#define PG_RETURN_UINT16(x)   return UInt16GetDatum(x)
 
#define PG_RETURN_CHAR(x)   return CharGetDatum(x)
 
#define PG_RETURN_BOOL(x)   return BoolGetDatum(x)
 
#define PG_RETURN_OID(x)   return ObjectIdGetDatum(x)
 
#define PG_RETURN_POINTER(x)   return PointerGetDatum(x)
 
#define PG_RETURN_CSTRING(x)   return CStringGetDatum(x)
 
#define PG_RETURN_NAME(x)   return NameGetDatum(x)
 
#define PG_RETURN_FLOAT4(x)   return Float4GetDatum(x)
 
#define PG_RETURN_FLOAT8(x)   return Float8GetDatum(x)
 
#define PG_RETURN_INT64(x)   return Int64GetDatum(x)
 
#define PG_RETURN_UINT64(x)   return UInt64GetDatum(x)
 
#define PG_RETURN_BYTEA_P(x)   PG_RETURN_POINTER(x)
 
#define PG_RETURN_TEXT_P(x)   PG_RETURN_POINTER(x)
 
#define PG_RETURN_BPCHAR_P(x)   PG_RETURN_POINTER(x)
 
#define PG_RETURN_VARCHAR_P(x)   PG_RETURN_POINTER(x)
 
#define PG_RETURN_HEAPTUPLEHEADER(x)   return HeapTupleHeaderGetDatum(x)
 
#define PG_FUNCTION_INFO_V1(funcname)
 
#define PG_MODULE_MAGIC_DATA
 
#define PG_MAGIC_FUNCTION_NAME   Pg_magic_func
 
#define PG_MAGIC_FUNCTION_NAME_STRING   "Pg_magic_func"
 
#define PG_MODULE_MAGIC
 
#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 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 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 AGG_CONTEXT_AGGREGATE   1 /* regular aggregate */
 
#define AGG_CONTEXT_WINDOW   2 /* window function */
 
#define FmgrHookIsNeeded(fn_oid)   (!needs_fmgr_hook ? false : (*needs_fmgr_hook)(fn_oid))
 

Typedefs

typedef struct NodefmNodePtr
 
typedef struct AggreffmAggrefPtr
 
typedef void(* fmExprContextCallbackFunction) (Datum arg)
 
typedef struct StringInfoDatafmStringInfo
 
typedef struct FunctionCallInfoDataFunctionCallInfo
 
typedef Datum(* PGFunction) (FunctionCallInfo fcinfo)
 
typedef struct FmgrInfo FmgrInfo
 
typedef struct FunctionCallInfoData FunctionCallInfoData
 
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 }
 

Functions

void fmgr_info (Oid functionId, FmgrInfo *finfo)
 
void fmgr_info_cxt (Oid functionId, FmgrInfo *finfo, MemoryContext mcxt)
 
void fmgr_info_copy (FmgrInfo *dstinfo, FmgrInfo *srcinfo, MemoryContext destcxt)
 
void fmgr_symbol (Oid functionId, char **mod, char **fn)
 
struct varlenapg_detoast_datum (struct varlena *datum)
 
struct varlenapg_detoast_datum_copy (struct varlena *datum)
 
struct varlenapg_detoast_datum_slice (struct varlena *datum, int32 first, int32 count)
 
struct varlenapg_detoast_datum_packed (struct varlena *datum)
 
Datum DirectFunctionCall1Coll (PGFunction func, Oid collation, Datum arg1)
 
Datum DirectFunctionCall2Coll (PGFunction func, Oid collation, Datum arg1, Datum arg2)
 
Datum DirectFunctionCall3Coll (PGFunction func, Oid collation, Datum arg1, Datum arg2, Datum arg3)
 
Datum DirectFunctionCall4Coll (PGFunction func, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4)
 
Datum DirectFunctionCall5Coll (PGFunction func, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5)
 
Datum DirectFunctionCall6Coll (PGFunction func, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6)
 
Datum DirectFunctionCall7Coll (PGFunction func, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7)
 
Datum DirectFunctionCall8Coll (PGFunction func, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7, Datum arg8)
 
Datum DirectFunctionCall9Coll (PGFunction func, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7, Datum arg8, Datum arg9)
 
Datum CallerFInfoFunctionCall1 (PGFunction func, FmgrInfo *flinfo, Oid collation, Datum arg1)
 
Datum CallerFInfoFunctionCall2 (PGFunction func, FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2)
 
Datum FunctionCall1Coll (FmgrInfo *flinfo, Oid collation, Datum arg1)
 
Datum FunctionCall2Coll (FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2)
 
Datum FunctionCall3Coll (FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2, Datum arg3)
 
Datum FunctionCall4Coll (FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4)
 
Datum FunctionCall5Coll (FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5)
 
Datum FunctionCall6Coll (FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6)
 
Datum FunctionCall7Coll (FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7)
 
Datum FunctionCall8Coll (FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7, Datum arg8)
 
Datum FunctionCall9Coll (FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7, Datum arg8, Datum arg9)
 
Datum OidFunctionCall0Coll (Oid functionId, Oid collation)
 
Datum OidFunctionCall1Coll (Oid functionId, Oid collation, Datum arg1)
 
Datum OidFunctionCall2Coll (Oid functionId, Oid collation, Datum arg1, Datum arg2)
 
Datum OidFunctionCall3Coll (Oid functionId, Oid collation, Datum arg1, Datum arg2, Datum arg3)
 
Datum OidFunctionCall4Coll (Oid functionId, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4)
 
Datum OidFunctionCall5Coll (Oid functionId, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5)
 
Datum OidFunctionCall6Coll (Oid functionId, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6)
 
Datum OidFunctionCall7Coll (Oid functionId, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7)
 
Datum OidFunctionCall8Coll (Oid functionId, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7, Datum arg8)
 
Datum OidFunctionCall9Coll (Oid functionId, Oid collation, Datum arg1, Datum arg2, Datum arg3, Datum arg4, Datum arg5, Datum arg6, Datum arg7, Datum arg8, Datum arg9)
 
Datum InputFunctionCall (FmgrInfo *flinfo, char *str, Oid typioparam, int32 typmod)
 
Datum OidInputFunctionCall (Oid functionId, char *str, Oid typioparam, int32 typmod)
 
char * OutputFunctionCall (FmgrInfo *flinfo, Datum val)
 
char * OidOutputFunctionCall (Oid functionId, Datum val)
 
Datum ReceiveFunctionCall (FmgrInfo *flinfo, fmStringInfo buf, Oid typioparam, int32 typmod)
 
Datum OidReceiveFunctionCall (Oid functionId, fmStringInfo buf, Oid typioparam, int32 typmod)
 
byteaSendFunctionCall (FmgrInfo *flinfo, Datum val)
 
byteaOidSendFunctionCall (Oid functionId, Datum val)
 
const Pg_finfo_recordfetch_finfo_record (void *filehandle, const char *funcname)
 
void clear_external_function_hash (void *filehandle)
 
Oid fmgr_internal_function (const char *proname)
 
Oid get_fn_expr_rettype (FmgrInfo *flinfo)
 
Oid get_fn_expr_argtype (FmgrInfo *flinfo, int argnum)
 
Oid get_call_expr_argtype (fmNodePtr expr, int argnum)
 
bool get_fn_expr_arg_stable (FmgrInfo *flinfo, int argnum)
 
bool get_call_expr_arg_stable (fmNodePtr expr, int argnum)
 
bool get_fn_expr_variadic (FmgrInfo *flinfo)
 
bool CheckFunctionValidatorAccess (Oid validatorOid, Oid functionOid)
 
PGFunction load_external_function (const char *filename, const char *funcname, bool signalNotFound, void **filehandle)
 
PGFunction lookup_external_function (void *filehandle, const char *funcname)
 
void load_file (const char *filename, bool restricted)
 
void ** find_rendezvous_variable (const char *varName)
 
Size EstimateLibraryStateSpace (void)
 
void SerializeLibraryState (Size maxsize, char *start_address)
 
void RestoreLibraryState (char *start_address)
 
int AggCheckCallContext (FunctionCallInfo fcinfo, MemoryContext *aggcontext)
 
fmAggrefPtr AggGetAggref (FunctionCallInfo fcinfo)
 
MemoryContext AggGetTempMemoryContext (FunctionCallInfo fcinfo)
 
bool AggStateIsShared (FunctionCallInfo fcinfo)
 
void AggRegisterCallback (FunctionCallInfo fcinfo, fmExprContextCallbackFunction func, Datum arg)
 

Variables

char * Dynamic_library_path
 
PGDLLIMPORT needs_fmgr_hook_type needs_fmgr_hook
 
PGDLLIMPORT fmgr_hook_type fmgr_hook
 

Macro Definition Documentation

◆ AGG_CONTEXT_AGGREGATE

◆ AGG_CONTEXT_WINDOW

#define AGG_CONTEXT_WINDOW   2 /* window function */

Definition at line 700 of file fmgr.h.

Referenced by AggCheckCallContext().

◆ DatumGetBpCharP

#define DatumGetBpCharP (   X)    ((BpChar *) PG_DETOAST_DATUM(X))

Definition at line 302 of file fmgr.h.

◆ DatumGetBpCharPCopy

#define DatumGetBpCharPCopy (   X)    ((BpChar *) PG_DETOAST_DATUM_COPY(X))

Definition at line 268 of file fmgr.h.

◆ DatumGetBpCharPP

#define DatumGetBpCharPP (   X)    ((BpChar *) PG_DETOAST_DATUM_PACKED(X))

Definition at line 262 of file fmgr.h.

Referenced by bpcharfastcmp_c().

◆ DatumGetBpCharPSlice

#define DatumGetBpCharPSlice (   X,
  m,
 
)    ((BpChar *) PG_DETOAST_DATUM_SLICE(X,m,n))

Definition at line 274 of file fmgr.h.

◆ DatumGetByteaP

#define DatumGetByteaP (   X)    ((bytea *) PG_DETOAST_DATUM(X))

◆ DatumGetByteaPCopy

#define DatumGetByteaPCopy (   X)    ((bytea *) PG_DETOAST_DATUM_COPY(X))

Definition at line 266 of file fmgr.h.

Referenced by tuple_data_split_internal().

◆ DatumGetByteaPP

◆ DatumGetByteaPSlice

#define DatumGetByteaPSlice (   X,
  m,
 
)    ((bytea *) PG_DETOAST_DATUM_SLICE(X,m,n))

Definition at line 272 of file fmgr.h.

Referenced by bytea_substring().

◆ DatumGetHeapTupleHeader

◆ DatumGetHeapTupleHeaderCopy

#define DatumGetHeapTupleHeaderCopy (   X)    ((HeapTupleHeader) PG_DETOAST_DATUM_COPY(X))

Definition at line 270 of file fmgr.h.

◆ DatumGetTextP

#define DatumGetTextP (   X)    ((text *) PG_DETOAST_DATUM(X))

Definition at line 301 of file fmgr.h.

Referenced by gbt_bpchar_consistent(), and gbt_text_consistent().

◆ DatumGetTextPCopy

#define DatumGetTextPCopy (   X)    ((text *) PG_DETOAST_DATUM_COPY(X))

Definition at line 267 of file fmgr.h.

◆ DatumGetTextPP

◆ DatumGetTextPSlice

#define DatumGetTextPSlice (   X,
  m,
 
)    ((text *) PG_DETOAST_DATUM_SLICE(X,m,n))

Definition at line 273 of file fmgr.h.

Referenced by text_substring().

◆ DatumGetVarCharP

#define DatumGetVarCharP (   X)    ((VarChar *) PG_DETOAST_DATUM(X))

Definition at line 303 of file fmgr.h.

◆ DatumGetVarCharPCopy

#define DatumGetVarCharPCopy (   X)    ((VarChar *) PG_DETOAST_DATUM_COPY(X))

Definition at line 269 of file fmgr.h.

◆ DatumGetVarCharPP

#define DatumGetVarCharPP (   X)    ((VarChar *) PG_DETOAST_DATUM_PACKED(X))

Definition at line 263 of file fmgr.h.

◆ DatumGetVarCharPSlice

#define DatumGetVarCharPSlice (   X,
  m,
 
)    ((VarChar *) PG_DETOAST_DATUM_SLICE(X,m,n))

Definition at line 275 of file fmgr.h.

◆ DirectFunctionCall1

#define DirectFunctionCall1 (   func,
  arg1 
)    DirectFunctionCall1Coll(func, InvalidOid, arg1)

Definition at line 590 of file fmgr.h.

Referenced by abs_interval(), AlterSubscription(), assign_random_seed(), autoinc(), cash_numeric(), convert_function_name(), convert_numeric_to_scalar(), convert_requires_to_datum(), convert_timevalue_to_scalar(), convert_type_name(), CopyOneRowTo(), CreateAccessMethod(), createdb(), CreateForeignDataWrapper(), CreateForeignServer(), CreatePolicy(), CreatePublication(), CreateRole(), CreateSubscription(), CreateTableSpace(), CreateTrigger(), current_schema(), current_schemas(), current_user(), defGetInt64(), flatten_set_variable_args(), gbt_bpchar_compress(), gbt_bpchar_consistent(), gbt_numeric_penalty(), get_available_versions_for_extension(), getdatabaseencoding(), gin_page_opaque_info(), inet_client_port(), inet_server_port(), InsertExtensionTuple(), int2_accum(), int2_accum_inv(), int4_accum(), int4_accum_inv(), int4_to_char(), int64_to_numeric(), int8_accum(), int8_accum_inv(), int8_avg(), int8_avg_accum(), int8_avg_accum_inv(), int8_avg_serialize(), int8_sum(), int8_to_char(), interval_hash(), iterate_jsonb_values(), jsonb_agg_transfn(), jsonb_array_element_text(), jsonb_float4(), jsonb_float8(), jsonb_int2(), jsonb_int4(), jsonb_int8(), jsonb_object_agg_transfn(), jsonb_object_field_text(), jsonb_put_escaped_value(), JsonbHashScalarValue(), JsonbValue_to_SV(), leftmostvalue_inet(), lo_manage(), ltree_addtext(), ltree_textadd(), make_greater_string(), make_tuple_from_result_row(), nameiclike(), nameicnlike(), network_scan_first(), network_scan_last(), NextCopyFrom(), numeric_absolute(), numeric_avg(), numeric_avg_serialize(), numeric_cash(), numeric_float4(), numeric_float8(), numeric_half_rounded(), numeric_poly_avg(), numeric_poly_serialize(), numeric_serialize(), numeric_shift_right(), numeric_to_char(), numeric_to_cstring(), numeric_to_double_no_overflow(), numeric_to_number(), numrange_subdiff(), oidvectorhashfast(), parsetinterval(), patternsel(), pg_available_extensions(), pg_client_encoding(), pg_convert_from(), pg_convert_to(), PG_encoding_to_char(), pg_get_viewdef_worker(), pg_isolation_test_session_is_blocked(), pg_size_bytes(), pg_stat_get_activity(), pg_stat_get_backend_client_addr(), pg_stat_get_backend_client_port(), pgrowlocks(), plperl_sv_to_literal(), plperl_trigger_build_args(), plpgsql_fulfill_promise(), pltcl_trigger_handler(), PLy_trigger_build_args(), PLyDecimal_FromNumeric(), PLyObject_FromJsonbValue(), poly_center(), populate_scalar(), prefix_quals(), quote_ident_cstr(), quote_nullable(), regclassin(), regconfigin(), regdictionaryin(), regnamespacein(), regoperatorin(), regoperin(), regprocedurein(), regprocin(), regrolein(), regtypein(), RelationBuildTriggers(), RenameRole(), session_user(), set_timetravel(), string_to_datum(), SV_to_JsonbValue(), table_to_xml_internal(), tablesample_init(), text2ltree(), texthashfast(), timestamp_izone(), timestamp_mi(), timestamptz_izone(), timetz_hash(), timetz_izone(), tintervalleneq(), tintervallenge(), tintervallengt(), tintervallenle(), tintervallenlt(), tintervallenne(), tintervalout(), ts_match_tq(), ts_match_tt(), ttdummy(), and uuid_generate_internal().

◆ DirectFunctionCall2

#define DirectFunctionCall2 (   func,
  arg1,
  arg2 
)    DirectFunctionCall2Coll(func, InvalidOid, arg1, arg2)

Definition at line 592 of file fmgr.h.

Referenced by _int_contained(), _int_different(), _lt_q_rregex(), _ltq_rregex(), _ltree_r_isparent(), _ltree_r_risparent(), _ltxtq_rexec(), abs_interval(), array_iterator(), bitshiftleft(), bitshiftright(), box_div(), box_mul(), brin_summarize_new_values(), build_regexp_split_result(), cash_numeric(), circle_div_pt(), circle_mul_pt(), close_lseg(), close_pb(), close_sb(), compareJsonbScalarValue(), currtid_for_view(), date_dist(), date_mi_interval(), date_pl_interval(), daterange_canonical(), decompile_conbin(), dist_pb(), dist_sb(), equalsJsonbScalarValue(), g_cube_distance(), g_cube_picksplit(), gbt_bitcmp(), gbt_biteq(), gbt_bitge(), gbt_bitgt(), gbt_bitle(), gbt_bitlt(), gbt_byteacmp(), gbt_byteaeq(), gbt_byteage(), gbt_byteagt(), gbt_byteale(), gbt_bytealt(), gbt_date_penalty(), gbt_dateeq(), gbt_datege(), gbt_dategt(), gbt_datekey_cmp(), gbt_datele(), gbt_datelt(), gbt_intveq(), gbt_intvge(), gbt_intvgt(), gbt_intvkey_cmp(), gbt_intvle(), gbt_intvlt(), gbt_macad8eq(), gbt_macad8ge(), gbt_macad8gt(), gbt_macad8key_cmp(), gbt_macad8le(), gbt_macad8lt(), gbt_macadeq(), gbt_macadge(), gbt_macadgt(), gbt_macadkey_cmp(), gbt_macadle(), gbt_macadlt(), gbt_numeric_cmp(), gbt_numeric_eq(), gbt_numeric_ge(), gbt_numeric_gt(), gbt_numeric_le(), gbt_numeric_lt(), gbt_numeric_penalty(), gbt_time_dist(), gbt_time_penalty(), gbt_timeeq(), gbt_timege(), gbt_timegt(), gbt_timekey_cmp(), gbt_timele(), gbt_timelt(), gbt_ts_dist(), gbt_tseq(), gbt_tsge(), gbt_tsgt(), gbt_tskey_cmp(), gbt_tsle(), gbt_tslt(), gdb_date_dist(), generate_series_timestamp(), generate_series_timestamptz(), gin_extract_hstore_query(), gin_extract_jsonb_query(), gin_extract_jsonb_query_path(), gin_numeric_cmp(), gist_box_leaf_consistent(), gist_point_consistent(), gseg_binary_union(), gseg_internal_consistent(), gseg_leaf_consistent(), gseg_penalty(), gseg_picksplit(), gseg_same(), hstore_contained(), hstore_eq(), hstore_ge(), hstore_gt(), hstore_le(), hstore_lt(), hstore_ne(), in_range_interval_interval(), in_range_timestamp_interval(), in_range_timestamptz_interval(), int4_cash(), int4range_canonical(), int8_avg(), int8_cash(), int8_sum(), int8_to_char(), int8range_canonical(), inter_sb(), interpt_pp(), interval_accum(), interval_accum_inv(), interval_avg(), interval_combine(), interval_dist(), interval_hash_extended(), interval_lerp(), intinterval(), JsonbHashScalarValueExtended(), line_distance(), line_interpt_internal(), line_intersect(), lt_q_regex(), lt_q_rregex(), ltq_rregex(), ltree_consistent(), ltxtq_rexec(), mul_d_interval(), network_scan_last(), numeric_avg(), numeric_cash(), numeric_half_rounded(), numeric_is_less(), numeric_poly_avg(), numeric_shift_right(), numeric_to_char(), numeric_to_number(), numrange_subdiff(), oidvectoreqfast(), on_sb(), on_sl(), path_distance(), path_div_pt(), path_mul_pt(), perform_work_item(), pg_size_bytes(), pg_wal_lsn_diff(), phraseto_tsquery(), plainto_tsquery(), poly_contain(), poly_contained(), rboolop(), rtree_internal_consistent(), seg_contained(), seg_different(), seg_ge(), seg_gt(), seg_le(), seg_lt(), seg_same(), similarity_dist(), similarity_op(), spg_box_quad_leaf_consistent(), spg_quad_inner_consistent(), spg_text_leaf_consistent(), text_isequal(), texteqfast(), time_dist(), timestamp_mi_interval(), timestamptz_mi_interval(), timetz_hash_extended(), tintervalct(), tintervalov(), tintervalsame(), to_tsquery(), to_tsvector(), ts_dist(), ts_match_qv(), ts_match_tq(), ts_match_tt(), tsq_mcontained(), tstz_dist(), and websearch_to_tsquery().

◆ DirectFunctionCall3

◆ DirectFunctionCall4

#define DirectFunctionCall4 (   func,
  arg1,
  arg2,
  arg3,
  arg4 
)    DirectFunctionCall4Coll(func, InvalidOid, arg1, arg2, arg3, arg4)

◆ DirectFunctionCall5

#define DirectFunctionCall5 (   func,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5 
)    DirectFunctionCall5Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5)

◆ DirectFunctionCall6

#define DirectFunctionCall6 (   func,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6 
)    DirectFunctionCall6Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6)

Definition at line 600 of file fmgr.h.

◆ DirectFunctionCall7

#define DirectFunctionCall7 (   func,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7 
)    DirectFunctionCall7Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7)

Definition at line 602 of file fmgr.h.

◆ DirectFunctionCall8

#define DirectFunctionCall8 (   func,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7,
  arg8 
)    DirectFunctionCall8Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)

Definition at line 604 of file fmgr.h.

◆ DirectFunctionCall9

#define DirectFunctionCall9 (   func,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7,
  arg8,
  arg9 
)    DirectFunctionCall9Coll(func, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)

Definition at line 606 of file fmgr.h.

◆ FIELDNO_FUNCTIONCALLINFODATA_ARG

#define FIELDNO_FUNCTIONCALLINFODATA_ARG   6

Definition at line 86 of file fmgr.h.

Referenced by llvm_compile_expr().

◆ FIELDNO_FUNCTIONCALLINFODATA_ARGNULL

#define FIELDNO_FUNCTIONCALLINFODATA_ARGNULL   7

Definition at line 88 of file fmgr.h.

Referenced by llvm_compile_expr().

◆ FIELDNO_FUNCTIONCALLINFODATA_ISNULL

#define FIELDNO_FUNCTIONCALLINFODATA_ISNULL   4

Definition at line 83 of file fmgr.h.

Referenced by BuildV1Call(), and llvm_compile_expr().

◆ fmgr_info_set_expr

#define fmgr_info_set_expr (   expr,
  finfo 
)    ((finfo)->fn_expr = (expr))

◆ FmgrHookIsNeeded

#define FmgrHookIsNeeded (   fn_oid)    (!needs_fmgr_hook ? false : (*needs_fmgr_hook)(fn_oid))

◆ FunctionCall1

◆ FunctionCall2

◆ FunctionCall3

#define FunctionCall3 (   flinfo,
  arg1,
  arg2,
  arg3 
)    FunctionCall3Coll(flinfo, InvalidOid, arg1, arg2, arg3)

◆ FunctionCall4

#define FunctionCall4 (   flinfo,
  arg1,
  arg2,
  arg3,
  arg4 
)    FunctionCall4Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4)

◆ FunctionCall5

#define FunctionCall5 (   flinfo,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5 
)    FunctionCall5Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5)

Definition at line 616 of file fmgr.h.

Referenced by perform_default_encoding_conversion().

◆ FunctionCall6

#define FunctionCall6 (   flinfo,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6 
)    FunctionCall6Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6)

Definition at line 618 of file fmgr.h.

◆ FunctionCall7

#define FunctionCall7 (   flinfo,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7 
)    FunctionCall7Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7)

Definition at line 620 of file fmgr.h.

◆ FunctionCall8

#define FunctionCall8 (   flinfo,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7,
  arg8 
)    FunctionCall8Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)

Definition at line 622 of file fmgr.h.

◆ FunctionCall9

#define FunctionCall9 (   flinfo,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7,
  arg8,
  arg9 
)    FunctionCall9Coll(flinfo, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)

Definition at line 624 of file fmgr.h.

◆ FunctionCallInvoke

◆ InitFunctionCallInfoData

#define InitFunctionCallInfoData (   Fcinfo,
  Flinfo,
  Nargs,
  Collation,
  Context,
  Resultinfo 
)
Value:
do { \
(Fcinfo).flinfo = (Flinfo); \
(Fcinfo).context = (Context); \
(Fcinfo).resultinfo = (Resultinfo); \
(Fcinfo).fncollation = (Collation); \
(Fcinfo).isnull = false; \
(Fcinfo).nargs = (Nargs); \
} while (0)

Definition at line 125 of file fmgr.h.

Referenced by advance_windowaggregate(), advance_windowaggregate_base(), array_cmp(), array_contain_compare(), array_eq(), array_replace_internal(), build_pertrans_for_aggref(), call_pltcl_start_proc(), CallerFInfoFunctionCall1(), CallerFInfoFunctionCall2(), DirectFunctionCall1Coll(), DirectFunctionCall2Coll(), DirectFunctionCall3Coll(), DirectFunctionCall4Coll(), DirectFunctionCall5Coll(), DirectFunctionCall6Coll(), DirectFunctionCall7Coll(), DirectFunctionCall8Coll(), DirectFunctionCall9Coll(), eval_windowfunction(), EventTriggerInvoke(), ExecBuildGroupingEqual(), ExecCallTriggerFunc(), ExecEvalSQLValueFunction(), ExecInitExprRec(), ExecInitFunc(), ExecMakeTableFunctionResult(), ExecuteCallStmt(), finalize_aggregate(), finalize_windowaggregate(), FunctionCall1Coll(), FunctionCall2Coll(), FunctionCall3Coll(), FunctionCall4Coll(), FunctionCall5Coll(), FunctionCall6Coll(), FunctionCall7Coll(), FunctionCall8Coll(), FunctionCall9Coll(), HandleFunctionRequest(), hash_array(), hash_array_extended(), init_sexpr(), InputFunctionCall(), int2vectorrecv(), OidFunctionCall0Coll(), OidFunctionCall1Coll(), OidFunctionCall2Coll(), OidFunctionCall3Coll(), OidFunctionCall4Coll(), OidFunctionCall5Coll(), OidFunctionCall6Coll(), OidFunctionCall7Coll(), OidFunctionCall8Coll(), OidFunctionCall9Coll(), oidvectorrecv(), PrepareSortSupportComparisonShim(), ReceiveFunctionCall(), record_cmp(), record_eq(), width_bucket_array_fixed(), and width_bucket_array_variable().

◆ OidFunctionCall0

#define OidFunctionCall0 (   functionId)    OidFunctionCall0Coll(functionId, InvalidOid)

Definition at line 626 of file fmgr.h.

Referenced by GetFdwRoutine(), and GetIndexAmRoutine().

◆ OidFunctionCall1

◆ OidFunctionCall2

#define OidFunctionCall2 (   functionId,
  arg1,
  arg2 
)    OidFunctionCall2Coll(functionId, InvalidOid, arg1, arg2)

Definition at line 630 of file fmgr.h.

Referenced by spgvalidate(), and transformGenericOptions().

◆ OidFunctionCall3

#define OidFunctionCall3 (   functionId,
  arg1,
  arg2,
  arg3 
)    OidFunctionCall3Coll(functionId, InvalidOid, arg1, arg2, arg3)

Definition at line 632 of file fmgr.h.

◆ OidFunctionCall4

#define OidFunctionCall4 (   functionId,
  arg1,
  arg2,
  arg3,
  arg4 
)    OidFunctionCall4Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4)

Definition at line 634 of file fmgr.h.

◆ OidFunctionCall5

#define OidFunctionCall5 (   functionId,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5 
)    OidFunctionCall5Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5)

Definition at line 636 of file fmgr.h.

Referenced by CreateConversionCommand(), and pg_do_encoding_conversion().

◆ OidFunctionCall6

#define OidFunctionCall6 (   functionId,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6 
)    OidFunctionCall6Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6)

Definition at line 638 of file fmgr.h.

◆ OidFunctionCall7

#define OidFunctionCall7 (   functionId,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7 
)    OidFunctionCall7Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7)

Definition at line 640 of file fmgr.h.

◆ OidFunctionCall8

#define OidFunctionCall8 (   functionId,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7,
  arg8 
)    OidFunctionCall8Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)

Definition at line 642 of file fmgr.h.

◆ OidFunctionCall9

#define OidFunctionCall9 (   functionId,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7,
  arg8,
  arg9 
)    OidFunctionCall9Coll(functionId, InvalidOid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)

Definition at line 644 of file fmgr.h.

◆ PG_ARGISNULL

#define PG_ARGISNULL (   n)    (fcinfo->argnull[n])

Definition at line 179 of file fmgr.h.

Referenced by array_agg_array_finalfn(), array_agg_array_transfn(), array_agg_finalfn(), array_agg_transfn(), array_append(), array_cat(), array_fill(), array_fill_with_lower_bounds(), array_position_common(), array_positions(), array_prepend(), array_remove(), array_replace(), array_to_text_null(), binary_upgrade_create_empty_extension(), bool_accum(), bool_accum_inv(), bool_alltrue(), bool_anytrue(), bytea_string_agg_finalfn(), bytea_string_agg_transfn(), concat_internal(), count_nulls(), dmetaphone(), dmetaphone_alt(), domain_in(), domain_recv(), enum_range_bounds(), extract_variadic_args(), fetch_array_arg_replace_nulls(), format_type(), hstore_from_arrays(), hstore_from_record(), hstore_from_text(), hstore_populate_record(), hypothetical_dense_rank_final(), hypothetical_rank_common(), int2_accum(), int2_accum_inv(), int2_sum(), int4_accum(), int4_accum_inv(), int4_sum(), int8_accum(), int8_accum_inv(), int8_avg_accum(), int8_avg_accum_inv(), int8_avg_combine(), int8_sum(), json_agg_finalfn(), json_agg_transfn(), json_object_agg_finalfn(), json_object_agg_transfn(), jsonb_agg_finalfn(), jsonb_agg_transfn(), jsonb_object_agg_finalfn(), jsonb_object_agg_transfn(), mode_final(), numeric_accum(), numeric_accum_inv(), numeric_avg(), numeric_avg_accum(), numeric_avg_combine(), numeric_combine(), numeric_poly_avg(), numeric_poly_combine(), numeric_poly_stddev_pop(), numeric_poly_stddev_samp(), numeric_poly_sum(), numeric_poly_var_pop(), numeric_poly_var_samp(), numeric_stddev_pop(), numeric_stddev_samp(), numeric_sum(), numeric_var_pop(), numeric_var_samp(), ordered_set_transition(), ordered_set_transition_multi(), overlaps_time(), overlaps_timestamp(), overlaps_timetz(), percentile_cont_final_common(), percentile_cont_multi_final_common(), percentile_disc_final(), percentile_disc_multi_final(), pg_current_logfile(), pg_file_rename(), pg_file_rename_v1_1(), pg_logical_slot_get_changes_guts(), pg_ls_dir(), pg_notify(), pg_prewarm(), pg_stat_get_activity(), pg_stat_get_subscription(), pltcl_argisnull(), populate_record_worker(), populate_recordset_worker(), quote_nullable(), range_constructor2(), range_constructor3(), satisfies_hash_partition(), sepgsql_restorecon(), sepgsql_setcon(), set_config_by_name(), similar_escape(), string_agg_finalfn(), string_agg_transfn(), text_concat_ws(), text_format(), text_to_array_internal(), tuple_data_split(), and xmlconcat2().

◆ PG_DETOAST_DATUM

◆ PG_DETOAST_DATUM_COPY

#define PG_DETOAST_DATUM_COPY (   datum)    pg_detoast_datum_copy((struct varlena *) DatumGetPointer(datum))

Definition at line 212 of file fmgr.h.

Referenced by accumArrayResult(), evaluate_expr(), and hstoreUpgrade().

◆ PG_DETOAST_DATUM_PACKED

#define PG_DETOAST_DATUM_PACKED (   datum)    pg_detoast_datum_packed((struct varlena *) DatumGetPointer(datum))

Definition at line 218 of file fmgr.h.

Referenced by numeric_abbrev_convert(), range_serialize(), record_image_cmp(), and record_image_eq().

◆ PG_DETOAST_DATUM_SLICE

#define PG_DETOAST_DATUM_SLICE (   datum,
  f,
  c 
)
Value:
(int32) (f), (int32) (c))
signed int int32
Definition: c.h:313
char * c
#define DatumGetPointer(X)
Definition: postgres.h:532
Definition: c.h:516
struct varlena * pg_detoast_datum_slice(struct varlena *datum, int32 first, int32 count)
Definition: fmgr.c:1941

Definition at line 214 of file fmgr.h.

◆ PG_FREE_IF_COPY

#define PG_FREE_IF_COPY (   ptr,
 
)
Value:
do { \
if ((Pointer) (ptr) != PG_GETARG_POINTER(n)) \
pfree(ptr); \
} while (0)
#define PG_GETARG_POINTER(n)
Definition: fmgr.h:246
char * Pointer
Definition: c.h:302

Definition at line 230 of file fmgr.h.

Referenced by _lca(), _lt_q_regex(), _ltq_extract_regex(), _ltq_regex(), _ltree_consistent(), _ltree_extract_isparent(), _ltree_extract_risparent(), _ltree_isparent(), _ltree_risparent(), _ltxtq_exec(), _ltxtq_extract_exec(), array_position_common(), array_positions(), array_to_tsvector(), bitcmp(), biteq(), bitge(), bitgt(), bitle(), bitlt(), bitne(), boolop(), bpchar_pattern_ge(), bpchar_pattern_gt(), bpchar_pattern_le(), bpchar_pattern_lt(), bpcharcmp(), bpchareq(), bpcharge(), bpchargt(), bpcharle(), bpcharlt(), bpcharne(), bqarr_out(), btbpchar_pattern_cmp(), bttext_pattern_cmp(), bttextcmp(), byteacmp(), byteaeq(), byteage(), byteagt(), byteale(), bytealt(), byteane(), citext_cmp(), citext_eq(), citext_ge(), citext_gt(), citext_hash(), citext_le(), citext_lt(), citext_ne(), citext_pattern_cmp(), citext_pattern_ge(), citext_pattern_gt(), citext_pattern_le(), citext_pattern_lt(), cube_c_f8(), cube_c_f8_f8(), cube_cmp(), cube_contained(), cube_contains(), cube_dim(), cube_distance(), cube_enlarge(), cube_eq(), cube_ge(), cube_gt(), cube_inter(), cube_is_point(), cube_le(), cube_ll_coord(), cube_lt(), cube_ne(), cube_out(), cube_overlap(), cube_size(), cube_subset(), cube_union(), cube_ur_coord(), distance_chebyshev(), distance_taxicab(), g_cube_consistent(), g_intbig_consistent(), gin_cmp_prefix(), gin_cmp_tslexeme(), gin_compare_jsonb(), gin_extract_tsquery(), gin_extract_tsvector(), gist_poly_consistent(), gtsvectorout(), hashbpchar(), hashbpcharextended(), hashtext(), hashtextextended(), hashvarlena(), hashvarlenaextended(), hstore_cmp(), hstore_hash(), icount(), idx(), in_range_numeric_numeric(), intarray_push_array(), intarray_push_elem(), intset_union_elem(), json_string_to_tsvector(), json_string_to_tsvector_byid(), json_to_tsvector(), json_to_tsvector_byid(), jsonb_bool(), jsonb_cmp(), jsonb_eq(), jsonb_float4(), jsonb_float8(), jsonb_ge(), jsonb_gt(), jsonb_hash(), jsonb_hash_extended(), jsonb_int2(), jsonb_int4(), jsonb_int8(), jsonb_le(), jsonb_lt(), jsonb_ne(), jsonb_numeric(), jsonb_string_to_tsvector(), jsonb_string_to_tsvector_byid(), jsonb_to_tsvector(), jsonb_to_tsvector_byid(), lca(), lquery_out(), lt_q_regex(), ltq_regex(), ltree2text(), ltree_addltree(), ltree_addtext(), ltree_consistent(), ltree_index(), ltree_isparent(), ltree_out(), ltree_risparent(), ltree_textadd(), ltree_to_plpython(), ltxtq_exec(), ltxtq_out(), nlevel(), numeric_cmp(), numeric_eq(), numeric_ge(), numeric_gt(), numeric_le(), numeric_lt(), numeric_ne(), pg_armor(), pg_convert(), pg_crypt(), pg_dearmor(), pg_decrypt(), pg_decrypt_iv(), pg_digest(), pg_encrypt(), pg_encrypt_iv(), pg_gen_salt(), pg_gen_salt_rounds(), pg_hmac(), pgp_key_id_w(), pgp_pub_decrypt_bytea(), pgp_pub_decrypt_text(), pgp_pub_encrypt_bytea(), pgp_pub_encrypt_text(), pgp_sym_decrypt_bytea(), pgp_sym_decrypt_text(), pgp_sym_encrypt_bytea(), pgp_sym_encrypt_text(), poly_above(), poly_below(), poly_contain(), poly_left(), poly_overabove(), poly_overbelow(), poly_overlap(), poly_overleft(), poly_overright(), poly_right(), poly_same(), range_cmp(), record_cmp(), record_eq(), record_image_cmp(), record_image_eq(), show_trgm(), similarity(), strict_word_similarity(), strict_word_similarity_commutator_op(), strict_word_similarity_dist_commutator_op(), strict_word_similarity_dist_op(), strict_word_similarity_op(), subarray(), subltree(), subpath(), text2ltree(), text_ge(), text_gt(), text_le(), text_lt(), text_pattern_ge(), text_pattern_gt(), text_pattern_le(), text_pattern_lt(), text_starts_with(), texteq(), textne(), to_tsvector_byid(), ts_headline_byid_opt(), ts_headline_json_byid_opt(), ts_headline_jsonb_byid_opt(), ts_match_tq(), ts_match_vq(), ts_parse_byid(), ts_rank_tt(), ts_rank_ttf(), ts_rank_wtt(), ts_rank_wttf(), ts_rankcd_tt(), ts_rankcd_ttf(), ts_rankcd_wtt(), ts_rankcd_wttf(), ts_stat1(), ts_stat2(), tsquery_and(), tsquery_cmp(), tsquery_not(), tsquery_numnode(), tsquery_or(), tsquery_phrase_distance(), tsquery_rewrite(), tsquery_rewrite_query(), tsqueryout(), tsquerysend(), tsquerytree(), tsvector_concat(), tsvector_delete_arr(), tsvector_delete_str(), tsvector_filter(), tsvector_length(), tsvector_setweight(), tsvector_setweight_by_filter(), tsvector_strip(), tsvector_to_array(), tsvectorout(), unaccent_dict(), width_bucket_array(), word_similarity(), word_similarity_commutator_op(), word_similarity_dist_commutator_op(), word_similarity_dist_op(), and word_similarity_op().

◆ PG_FUNCTION_ARGS

#define PG_FUNCTION_ARGS   FunctionCallInfo fcinfo

Definition at line 163 of file fmgr.h.

◆ PG_FUNCTION_INFO_V1

#define PG_FUNCTION_INFO_V1 (   funcname)
Value:
extern Datum funcname(PG_FUNCTION_ARGS); \
extern PGDLLEXPORT const Pg_finfo_record * CppConcat(pg_finfo_,funcname)(void); \
const Pg_finfo_record * \
CppConcat(pg_finfo_,funcname) (void) \
{ \
static const Pg_finfo_record my_finfo = { 1 }; \
return &my_finfo; \
} \
extern int no_such_variable
#define PGDLLEXPORT
Definition: c.h:1108
uintptr_t Datum
Definition: postgres.h:365
#define PG_FUNCTION_ARGS
Definition: fmgr.h:163
#define CppConcat(x, y)
Definition: c.h:225

Definition at line 379 of file fmgr.h.

◆ PG_GET_COLLATION

#define PG_GET_COLLATION ( )    (fcinfo->fncollation)

Definition at line 168 of file fmgr.h.

Referenced by array_cmp(), array_eq(), array_position_common(), array_positions(), array_remove(), array_replace(), arraycontained(), arraycontains(), arrayoverlap(), bpchar_larger(), bpchar_smaller(), bpcharcmp(), bpcharge(), bpchargt(), bpcharle(), bpcharlt(), brin_inclusion_add_value(), brin_inclusion_consistent(), brin_inclusion_union(), brin_minmax_add_value(), brin_minmax_consistent(), brin_minmax_union(), bttextcmp(), citext_cmp(), citext_ge(), citext_gt(), citext_larger(), citext_le(), citext_lt(), citext_pattern_cmp(), citext_pattern_ge(), citext_pattern_gt(), citext_pattern_le(), citext_pattern_lt(), citext_smaller(), fmgr_sql(), gbt_bit_consistent(), gbt_bit_penalty(), gbt_bit_picksplit(), gbt_bit_same(), gbt_bit_union(), gbt_bpchar_consistent(), gbt_bytea_consistent(), gbt_bytea_penalty(), gbt_bytea_picksplit(), gbt_bytea_same(), gbt_bytea_union(), gbt_numeric_consistent(), gbt_numeric_penalty(), gbt_numeric_picksplit(), gbt_numeric_same(), gbt_numeric_union(), gbt_text_consistent(), gbt_text_penalty(), gbt_text_picksplit(), gbt_text_same(), gbt_text_union(), gin_btree_compare_prefix(), gin_enum_cmp(), gin_extract_query_trgm(), gtrgm_consistent(), initcap(), interval_to_char(), lower(), nameiclike(), nameicnlike(), nameicregexeq(), nameicregexne(), nameregexeq(), nameregexne(), numeric_to_number(), patternsel(), pg_collation_for(), regexp_match(), regexp_matches(), regexp_split_to_array(), regexp_split_to_table(), spg_text_inner_consistent(), spg_text_leaf_consistent(), text_ge(), text_gt(), text_larger(), text_le(), text_lt(), text_smaller(), texticlike(), texticnlike(), texticregexeq(), texticregexne(), textregexeq(), textregexne(), textregexreplace(), textregexreplace_noopt(), textregexsubstr(), timestamp_to_char(), timestamptz_to_char(), upper(), and width_bucket_array().

◆ PG_GETARG_BOOL

#define PG_GETARG_BOOL (   n)    DatumGetBool(PG_GETARG_DATUM(n))

Definition at line 244 of file fmgr.h.

Referenced by accept_weak_input(), array_to_json_pretty(), binary_upgrade_create_empty_extension(), binary_upgrade_set_record_init_privs(), bit(), bool_accum(), bool_accum_inv(), bool_int4(), booland_statefunc(), booleq(), boolge(), boolgt(), boolle(), boollt(), boolne(), boolor_statefunc(), boolout(), boolsend(), booltext(), bpchar(), brin_inclusion_add_value(), bt_index_check(), bt_index_parent_check(), btboolcmp(), current_schemas(), cursor_to_xml(), cursor_to_xmlschema(), database_to_xml(), database_to_xml_and_xmlschema(), database_to_xmlschema(), dblink_close(), dblink_exec(), dblink_fetch(), dblink_open(), dblink_record_internal(), generate_subscripts(), in_range_date_interval(), in_range_float8_float8(), in_range_int2_int4(), in_range_int4_int4(), in_range_int4_int8(), in_range_int8_int8(), in_range_interval_interval(), in_range_numeric_numeric(), in_range_time_interval(), in_range_timestamp_interval(), in_range_timestamptz_interval(), in_range_timetz_interval(), jsonb_insert(), jsonb_set(), makeaclitem(), parse_ident(), pg_column_is_updatable(), pg_create_logical_replication_slot(), pg_create_physical_replication_slot(), pg_file_write(), pg_file_write_v1_1(), pg_get_constraintdef_ext(), pg_get_expr_ext(), pg_get_indexdef_ext(), pg_get_ruledef_ext(), pg_get_triggerdef_ext(), pg_get_viewdef_ext(), pg_get_viewdef_name_ext(), pg_logical_emit_message_bytea(), pg_ls_dir(), pg_read_binary_file(), pg_read_file(), pg_read_file_v2(), pg_relation_is_updatable(), pg_replication_origin_progress(), pg_replication_origin_session_progress(), pg_start_backup(), pg_stat_file(), pg_stat_statements_1_2(), pg_stat_statements_1_3(), pg_stop_backup_v2(), query_to_xml(), query_to_xml_and_xmlschema(), query_to_xmlschema(), row_to_json_pretty(), schema_to_xml(), schema_to_xml_and_xmlschema(), schema_to_xmlschema(), set_config_by_name(), setval3_oid(), show_config_by_name_missing_ok(), table_to_xml(), table_to_xml_and_xmlschema(), table_to_xmlschema(), test_shm_mq_pipelined(), tuple_data_split(), varbit(), and varchar().

◆ PG_GETARG_BPCHAR_P

#define PG_GETARG_BPCHAR_P (   n)    DatumGetBpCharP(PG_GETARG_DATUM(n))

Definition at line 306 of file fmgr.h.

◆ PG_GETARG_BPCHAR_P_COPY

#define PG_GETARG_BPCHAR_P_COPY (   n)    DatumGetBpCharPCopy(PG_GETARG_DATUM(n))

Definition at line 285 of file fmgr.h.

◆ PG_GETARG_BPCHAR_P_SLICE

#define PG_GETARG_BPCHAR_P_SLICE (   n,
  a,
 
)    DatumGetBpCharPSlice(PG_GETARG_DATUM(n),a,b)

Definition at line 291 of file fmgr.h.

◆ PG_GETARG_BPCHAR_PP

◆ PG_GETARG_BYTEA_P

◆ PG_GETARG_BYTEA_P_COPY

#define PG_GETARG_BYTEA_P_COPY (   n)    DatumGetByteaPCopy(PG_GETARG_DATUM(n))

Definition at line 283 of file fmgr.h.

Referenced by byteasend(), byteaSetBit(), and byteaSetByte().

◆ PG_GETARG_BYTEA_P_SLICE

#define PG_GETARG_BYTEA_P_SLICE (   n,
  a,
 
)    DatumGetByteaPSlice(PG_GETARG_DATUM(n),a,b)

Definition at line 289 of file fmgr.h.

◆ PG_GETARG_BYTEA_PP

◆ PG_GETARG_CHAR

◆ PG_GETARG_CSTRING

#define PG_GETARG_CSTRING (   n)    DatumGetCString(PG_GETARG_DATUM(n))

Definition at line 247 of file fmgr.h.

Referenced by abstimein(), aclitemin(), array_in(), ascii_to_mic(), ascii_to_utf8(), big5_to_euc_tw(), big5_to_mic(), big5_to_utf8(), bit_in(), boolin(), box_in(), bpcharin(), byteain(), cash_in(), charin(), cidin(), cidr_in(), circle_in(), complex_in(), cstring_in(), cstring_out(), cstring_send(), cube_in(), date_in(), domain_in(), ean13_in(), enum_in(), euc_cn_to_mic(), euc_cn_to_utf8(), euc_jis_2004_to_shift_jis_2004(), euc_jis_2004_to_utf8(), euc_jp_to_mic(), euc_jp_to_sjis(), euc_jp_to_utf8(), euc_kr_to_mic(), euc_kr_to_utf8(), euc_tw_to_big5(), euc_tw_to_mic(), euc_tw_to_utf8(), float4in(), float8in(), gb18030_to_utf8(), gbk_to_utf8(), hstore_in(), inet_in(), int2in(), int2vectorin(), int44in(), int4in(), int8in(), interval_in(), isbn_in(), ismn_in(), iso8859_1_to_utf8(), iso8859_to_utf8(), iso_to_koi8r(), iso_to_mic(), iso_to_win1251(), iso_to_win866(), issn_in(), johab_to_utf8(), json_in(), jsonb_in(), koi8r_to_iso(), koi8r_to_mic(), koi8r_to_utf8(), koi8r_to_win1251(), koi8r_to_win866(), koi8u_to_utf8(), latin1_to_mic(), latin2_to_mic(), latin2_to_win1250(), latin3_to_mic(), latin4_to_mic(), line_in(), lseg_in(), macaddr8_in(), macaddr_in(), mic_to_ascii(), mic_to_big5(), mic_to_euc_cn(), mic_to_euc_jp(), mic_to_euc_kr(), mic_to_euc_tw(), mic_to_iso(), mic_to_koi8r(), mic_to_latin1(), mic_to_latin2(), mic_to_latin3(), mic_to_latin4(), mic_to_sjis(), mic_to_win1250(), mic_to_win1251(), mic_to_win866(), namein(), numeric_in(), oidin(), oidvectorin(), path_in(), pg_lsn_in(), point_in(), poly_in(), range_in(), record_in(), regclassin(), regconfigin(), regdictionaryin(), regnamespacein(), regoperatorin(), regoperin(), regprocedurein(), regprocin(), regrolein(), regtypein(), reltimein(), reverse_name(), seg_in(), shift_jis_2004_to_euc_jis_2004(), shift_jis_2004_to_utf8(), sjis_to_euc_jp(), sjis_to_mic(), sjis_to_utf8(), smgrin(), textin(), tidin(), time_in(), timestamp_in(), timestamptz_in(), timetz_in(), tintervalin(), tsqueryin(), tsvectorin(), txid_snapshot_in(), uhc_to_utf8(), unknownin(), unknownout(), unknownsend(), upc_in(), utf8_to_ascii(), utf8_to_big5(), utf8_to_euc_cn(), utf8_to_euc_jis_2004(), utf8_to_euc_jp(), utf8_to_euc_kr(), utf8_to_euc_tw(), utf8_to_gb18030(), utf8_to_gbk(), utf8_to_iso8859(), utf8_to_iso8859_1(), utf8_to_johab(), utf8_to_koi8r(), utf8_to_koi8u(), utf8_to_shift_jis_2004(), utf8_to_sjis(), utf8_to_uhc(), utf8_to_win(), uuid_in(), varbit_in(), varcharin(), widget_in(), win1250_to_latin2(), win1250_to_mic(), win1251_to_iso(), win1251_to_koi8r(), win1251_to_mic(), win1251_to_win866(), win866_to_iso(), win866_to_koi8r(), win866_to_mic(), win866_to_win1251(), win_to_utf8(), xidin(), and xml_in().

◆ PG_GETARG_DATUM

#define PG_GETARG_DATUM (   n)    (fcinfo->arg[n])

Definition at line 238 of file fmgr.h.

Referenced by _int_contained(), _int_contained_joinsel(), _int_contained_sel(), _int_contains_joinsel(), _int_contains_sel(), _int_overlap_joinsel(), _int_overlap_sel(), _lt_q_rregex(), _ltq_rregex(), _ltree_consistent(), _ltree_r_isparent(), _ltree_r_risparent(), _ltxtq_rexec(), array_agg_array_transfn(), array_agg_transfn(), array_append(), array_fill(), array_fill_with_lower_bounds(), array_larger(), array_position_common(), array_positions(), array_prepend(), array_remove(), array_replace(), array_smaller(), array_to_json(), array_to_json_pretty(), binary_decode(), binary_encode(), binary_upgrade_create_empty_extension(), bpcharoctetlen(), bpcharout(), brin_inclusion_add_value(), brin_minmax_add_value(), brin_summarize_new_values(), bytea_substr(), bytea_substr_no_len(), byteaeq(), byteane(), byteaoctetlen(), concat_internal(), date_dist(), dblink_fdw_validator(), elem_contained_by_range(), extract_variadic_args(), file_fdw_validator(), g_cube_compress(), g_intbig_decompress(), gbt_bit_consistent(), gbt_bit_same(), gbt_bpchar_consistent(), gbt_bytea_consistent(), gbt_bytea_same(), gbt_inet_consistent(), gbt_numeric_consistent(), gbt_numeric_same(), gbt_text_consistent(), gbt_text_same(), gin_btree_compare_prefix(), gin_btree_extract_query(), gin_btree_extract_value(), gin_extract_hstore_query(), gin_extract_jsonb_query(), gin_extract_jsonb_query_path(), gist_circle_distance(), gist_poly_distance(), gseg_consistent(), gseg_same(), hash_range_extended(), hstore_contained(), hstore_eq(), hstore_ge(), hstore_gt(), hstore_le(), hstore_lt(), hstore_ne(), hstore_version_diag(), hypothetical_dense_rank_final(), hypothetical_rank_common(), in_range_float4_float8(), in_range_int2_int2(), in_range_int2_int8(), in_range_int4_int2(), inet_gist_same(), int2_accum(), int2_accum_inv(), int4_accum(), int4_accum_inv(), int8_accum(), int8_accum_inv(), int8_avg_accum(), int8_avg_accum_inv(), int8_sum(), interval_dist(), interval_hash_extended(), json_agg_transfn(), json_object_agg_transfn(), json_out(), jsonb_agg_transfn(), jsonb_object_agg_transfn(), lt_q_rregex(), ltq_rregex(), ltxtq_rexec(), metaphone(), mul_d_interval(), numeric_cash(), numrange_subdiff(), ordered_set_transition(), ordered_set_transition_multi(), overlaps_time(), overlaps_timestamp(), overlaps_timetz(), pg_column_size(), pg_convert_from(), pg_convert_to(), pg_get_object_address(), pg_options_to_table(), pg_replication_origin_create(), pg_replication_origin_drop(), pg_replication_origin_oid(), pg_replication_origin_progress(), pg_replication_origin_session_setup(), pg_wal_lsn_diff(), plpgsql_inline_handler(), plpython_inline_handler(), poly_contained(), postgres_fdw_validator(), postgresql_fdw_validator(), quote_nullable(), range_constructor2(), range_constructor3(), range_contains_elem(), range_gist_consistent(), rboolop(), row_to_json(), row_to_json_pretty(), satisfies_hash_partition(), seg_contained(), seg_different(), seg_ge(), seg_gt(), seg_le(), seg_lt(), seg_same(), sepgsql_restorecon(), sepgsql_setcon(), set_config_by_name(), show_config_by_name(), show_config_by_name_missing_ok(), similarity_dist(), similarity_op(), text_format(), text_starts_with(), text_substr(), text_substr_no_len(), texteq(), textlen(), textne(), textoctetlen(), textout(), thesaurus_lexize(), time_dist(), timetz_hash_extended(), to_json(), to_jsonb(), ts_dist(), ts_headline(), ts_headline_byid(), ts_headline_json(), ts_headline_json_byid(), ts_headline_json_opt(), ts_headline_jsonb(), ts_headline_jsonb_byid(), ts_headline_jsonb_opt(), ts_headline_opt(), ts_match_qv(), ts_match_tq(), ts_match_tt(), ts_rank_wtt(), ts_rank_wttf(), ts_rankcd_wtt(), ts_rankcd_wttf(), tsq_mcontained(), tsquery_phrase(), tstz_dist(), varcharout(), and width_bucket_array().

◆ PG_GETARG_FLOAT4

◆ PG_GETARG_FLOAT8

#define PG_GETARG_FLOAT8 (   n)    DatumGetFloat8(PG_GETARG_DATUM(n))

Definition at line 251 of file fmgr.h.

Referenced by add_one_float8(), btfloat48cmp(), btfloat84cmp(), btfloat8cmp(), cash_div_flt8(), cash_mul_flt8(), construct_point(), cr_circle(), cube_c_f8(), cube_c_f8_f8(), cube_enlarge(), cube_f8(), cube_f8_f8(), dacos(), dacosd(), dasin(), dasind(), datan(), datan2(), datan2d(), datand(), dcbrt(), dceil(), dcos(), dcosd(), dcot(), dcotd(), degrees(), dexp(), dfloor(), dlog1(), dlog10(), dpow(), dround(), dsign(), dsin(), dsind(), dsqrt(), dtan(), dtand(), dtof(), dtoi2(), dtoi4(), dtoi8(), dtrunc(), float48div(), float48eq(), float48ge(), float48gt(), float48le(), float48lt(), float48mi(), float48mul(), float48ne(), float48pl(), float84div(), float84eq(), float84ge(), float84gt(), float84le(), float84lt(), float84mi(), float84mul(), float84ne(), float84pl(), float8_accum(), float8_dist(), float8_numeric(), float8_regr_accum(), float8_timestamptz(), float8_to_char(), float8abs(), float8div(), float8eq(), float8ge(), float8gt(), float8larger(), float8le(), float8lt(), float8mi(), float8mul(), float8ne(), float8out(), float8pl(), float8send(), float8smaller(), float8um(), float8up(), flt8_mul_cash(), gbt_float8_consistent(), gbt_float8_distance(), hashfloat8(), hashfloat8extended(), in_range_float8_float8(), interval_div(), interval_mul(), make_interval(), make_time(), make_timestamp(), make_timestamptz(), make_timestamptz_at_timezone(), normal_rand(), percentile_cont_final_common(), percentile_disc_final(), pg_sleep(), radians(), setseed(), and width_bucket_float8().

◆ PG_GETARG_HEAPTUPLEHEADER

◆ PG_GETARG_HEAPTUPLEHEADER_COPY

#define PG_GETARG_HEAPTUPLEHEADER_COPY (   n)    DatumGetHeapTupleHeaderCopy(PG_GETARG_DATUM(n))

Definition at line 287 of file fmgr.h.

◆ PG_GETARG_INT16

#define PG_GETARG_INT16 (   n)    DatumGetInt16(PG_GETARG_DATUM(n))

Definition at line 241 of file fmgr.h.

Referenced by btint24cmp(), btint28cmp(), btint2cmp(), btint42cmp(), btint82cmp(), cash_div_int2(), cash_mul_int2(), eqjoinsel(), gbt_int2_consistent(), gbt_int2_distance(), has_column_privilege_id_attnum(), has_column_privilege_id_id_attnum(), has_column_privilege_id_name_attnum(), has_column_privilege_name_attnum(), has_column_privilege_name_id_attnum(), has_column_privilege_name_name_attnum(), hashint2(), hashint2extended(), i2tod(), i2tof(), i2toi4(), in_range_int2_int2(), in_range_int2_int4(), in_range_int2_int8(), in_range_int4_int2(), int24div(), int24eq(), int24ge(), int24gt(), int24le(), int24lt(), int24mi(), int24mul(), int24ne(), int24pl(), int28(), int28div(), int28eq(), int28ge(), int28gt(), int28le(), int28lt(), int28mi(), int28mul(), int28ne(), int28pl(), int2_accum(), int2_accum_inv(), int2_avg_accum(), int2_avg_accum_inv(), int2_dist(), int2_mul_cash(), int2_numeric(), int2_sum(), int2abs(), int2and(), int2div(), int2eq(), int2ge(), int2gt(), int2larger(), int2le(), int2lt(), int2mi(), int2mod(), int2mul(), int2ne(), int2not(), int2or(), int2out(), int2pl(), int2send(), int2shl(), int2shr(), int2smaller(), int2um(), int2up(), int2xor(), int42div(), int42eq(), int42ge(), int42gt(), int42le(), int42lt(), int42mi(), int42mul(), int42ne(), int42pl(), int82div(), int82eq(), int82ge(), int82gt(), int82le(), int82lt(), int82mi(), int82mul(), int82ne(), int82pl(), neqjoinsel(), networkjoinsel(), pg_column_is_updatable(), smgreq(), smgrne(), smgrout(), and tuple_data_split().

◆ PG_GETARG_INT32

#define PG_GETARG_INT32 (   n)    DatumGetInt32(PG_GETARG_DATUM(n))

Definition at line 239 of file fmgr.h.

Referenced by _int_matchsel(), add_one(), array_in(), array_length(), array_lower(), array_position_common(), array_recv(), array_upper(), arraycontsel(), ascii_to_mic(), ascii_to_utf8(), be_lo_close(), be_lo_get_fragment(), be_lo_lseek(), be_lo_lseek64(), be_lo_open(), be_lo_tell(), be_lo_tell64(), be_lo_truncate(), be_lo_truncate64(), be_loread(), be_lowrite(), big5_to_euc_tw(), big5_to_mic(), big5_to_utf8(), bit(), bit_in(), bit_recv(), bitfromint4(), bitfromint8(), bitgetbit(), bitoverlay(), bitoverlay_no_len(), bitsetbit(), bitshiftleft(), bitshiftright(), bitsubstr(), bitsubstr_no_len(), bittypmodout(), bpchar(), bpcharin(), bpcharrecv(), bpchartypmodout(), btint24cmp(), btint42cmp(), btint48cmp(), btint4cmp(), btint84cmp(), bytea_substr(), bytea_substr_no_len(), byteaGetBit(), byteaGetByte(), byteaoverlay(), byteaoverlay_no_len(), byteaSetBit(), byteaSetByte(), c_overpaid(), cash_div_int4(), cash_mul_int4(), cidr_set_masklen(), circle_poly(), connectby_text(), connectby_text_serial(), cube_coord(), cube_coord_llur(), cube_enlarge(), cube_ll_coord(), cube_ur_coord(), cursor_to_xml(), date_mii(), date_pli(), daterange_subdiff(), dblink_build_sql_delete(), dblink_build_sql_insert(), dblink_build_sql_update(), dblink_fetch(), dintdict_lexize(), dispell_lexize(), dsimple_lexize(), dsnowball_lexize(), dsynonym_lexize(), dxsyn_lexize(), eqsel_internal(), euc_cn_to_mic(), euc_cn_to_utf8(), euc_jis_2004_to_shift_jis_2004(), euc_jis_2004_to_utf8(), euc_jp_to_mic(), euc_jp_to_sjis(), euc_jp_to_utf8(), euc_kr_to_mic(), euc_kr_to_utf8(), euc_tw_to_big5(), euc_tw_to_mic(), euc_tw_to_utf8(), format_type(), g_cube_distance(), gb18030_to_utf8(), gbk_to_utf8(), gbt_int4_consistent(), gbt_int4_distance(), generate_series_step_int4(), generate_subscripts(), gin_consistent_hstore(), gin_consistent_jsonb(), gin_consistent_jsonb_path(), gin_trgm_consistent(), gin_trgm_triconsistent(), gin_triconsistent_jsonb(), gin_triconsistent_jsonb_path(), ginarrayconsistent(), ginarraytriconsistent(), ginint4_consistent(), hashint4(), hashint4extended(), i4tochar(), i4tod(), i4tof(), i4toi2(), idx(), in_range_int2_int4(), in_range_int4_int4(), in_range_int4_int8(), inet_set_masklen(), int24div(), int24eq(), int24ge(), int24gt(), int24le(), int24lt(), int24mi(), int24mul(), int24ne(), int24pl(), int2shl(), int2shr(), int42div(), int42eq(), int42ge(), int42gt(), int42le(), int42lt(), int42mi(), int42mul(), int42ne(), int42pl(), int48(), int48div(), int48eq(), int48ge(), int48gt(), int48le(), int48lt(), int48mi(), int48mul(), int48ne(), int48pl(), int4_accum(), int4_accum_inv(), int4_avg_accum(), int4_avg_accum_inv(), int4_bool(), int4_cash(), int4_dist(), int4_mul_cash(), int4_numeric(), int4_sum(), int4_to_char(), int4abs(), int4and(), int4div(), int4eq(), int4ge(), int4gt(), int4inc(), int4larger(), int4le(), int4lt(), int4mi(), int4mod(), int4mul(), int4ne(), int4not(), int4or(), int4out(), int4pl(), int4range_subdiff(), int4send(), int4shl(), int4shr(), int4smaller(), int4um(), int4up(), int4xor(), int84div(), int84eq(), int84ge(), int84gt(), int84le(), int84lt(), int84mi(), int84mul(), int84ne(), int84pl(), int8shl(), int8shr(), intarray_del_elem(), intarray_push_elem(), interval_in(), interval_recv(), interval_scale(), intervaltypmodout(), intset(), intset_union_elem(), iso8859_1_to_utf8(), iso8859_to_utf8(), iso_to_koi8r(), iso_to_mic(), iso_to_win1251(), iso_to_win866(), johab_to_utf8(), json_array_element(), json_array_element_text(), jsonb_array_element(), jsonb_array_element_text(), jsonb_delete_idx(), koi8r_to_iso(), koi8r_to_mic(), koi8r_to_utf8(), koi8r_to_win1251(), koi8r_to_win866(), koi8u_to_utf8(), latin1_to_mic(), latin2_to_mic(), latin2_to_win1250(), latin3_to_mic(), latin4_to_mic(), levenshtein_less_equal(), levenshtein_less_equal_with_costs(), levenshtein_with_costs(), lpad(), ltree_index(), ltreeparentsel(), make_date(), make_interval(), make_time(), make_timestamp(), make_timestamptz(), make_timestamptz_at_timezone(), metaphone(), mic_to_ascii(), mic_to_big5(), mic_to_euc_cn(), mic_to_euc_jp(), mic_to_euc_kr(), mic_to_euc_tw(), mic_to_iso(), mic_to_koi8r(), mic_to_latin1(), mic_to_latin2(), mic_to_latin3(), mic_to_latin4(), mic_to_sjis(), mic_to_win1250(), mic_to_win1251(), mic_to_win866(), networksel(), numeric(), numeric_in(), numeric_recv(), numeric_round(), numeric_trunc(), numerictypmodout(), page_checksum(), patternsel(), pg_advisory_lock_int4(), pg_advisory_lock_shared_int4(), pg_advisory_unlock_int4(), pg_advisory_unlock_shared_int4(), pg_advisory_xact_lock_int4(), pg_advisory_xact_lock_shared_int4(), pg_blocking_pids(), pg_cancel_backend(), pg_describe_object(), pg_encoding_max_length_sql(), PG_encoding_to_char(), pg_gen_salt_rounds(), pg_get_function_arg_default(), pg_get_indexdef_ext(), pg_get_viewdef_wrap(), pg_identify_object(), pg_identify_object_as_address(), pg_index_column_has_property(), pg_isolation_test_session_is_blocked(), pg_logical_slot_get_changes_guts(), pg_random_bytes(), pg_safe_snapshot_blocking_pids(), pg_stat_get_activity(), pg_stat_get_backend_activity(), pg_stat_get_backend_activity_start(), pg_stat_get_backend_client_addr(), pg_stat_get_backend_client_port(), pg_stat_get_backend_dbid(), pg_stat_get_backend_pid(), pg_stat_get_backend_start(), pg_stat_get_backend_userid(), pg_stat_get_backend_wait_event(), pg_stat_get_backend_wait_event_type(), pg_stat_get_backend_xact_start(), pg_terminate_backend(), pg_try_advisory_lock_int4(), pg_try_advisory_lock_shared_int4(), pg_try_advisory_xact_lock_int4(), pg_try_advisory_xact_lock_shared_int4(), prsd_start(), range_in(), range_recv(), rangesel(), record_in(), record_recv(), repeat(), rpad(), satisfies_hash_partition(), scalarineqsel_wrapper(), set_timetravel(), set_ttdummy(), shift_jis_2004_to_euc_jis_2004(), shift_jis_2004_to_utf8(), sjis_to_euc_jp(), sjis_to_mic(), sjis_to_utf8(), split_text(), subarray(), subltree(), subpath(), test_bloomfilter(), test_rb_tree(), test_shm_mq(), test_shm_mq_pipelined(), testprs_start(), text_left(), text_right(), text_substr(), text_substr_no_len(), textoverlay(), textoverlay_no_len(), time_in(), time_recv(), time_scale(), timestamp_in(), timestamp_recv(), timestamp_scale(), timestamptypmodout(), timestamptz_in(), timestamptz_recv(), timestamptz_scale(), timestamptztypmodout(), timetypmodout(), timetz_in(), timetz_recv(), timetz_scale(), timetztypmodout(), to_ascii_enc(), to_hex32(), ts_rank_ttf(), ts_rank_wttf(), ts_rankcd_ttf(), ts_rankcd_wttf(), tsmatchsel(), tsquery_phrase_distance(), uhc_to_utf8(), unaccent_lexize(), utf8_to_ascii(), utf8_to_big5(), utf8_to_euc_cn(), utf8_to_euc_jis_2004(), utf8_to_euc_jp(), utf8_to_euc_kr(), utf8_to_euc_tw(), utf8_to_gb18030(), utf8_to_gbk(), utf8_to_iso8859(), utf8_to_iso8859_1(), utf8_to_johab(), utf8_to_koi8r(), utf8_to_koi8u(), utf8_to_shift_jis_2004(), utf8_to_sjis(), utf8_to_uhc(), utf8_to_win(), varbit(), varbit_in(), varbit_recv(), varbittypmodout(), varchar(), varcharin(), varcharrecv(), varchartypmodout(), wait_pid(), width_bucket_float8(), width_bucket_numeric(), win1250_to_latin2(), win1250_to_mic(), win1251_to_iso(), win1251_to_koi8r(), win1251_to_mic(), win1251_to_win866(), win866_to_iso(), win866_to_koi8r(), win866_to_mic(), win866_to_win1251(), win_to_utf8(), and worker_spi_launch().

◆ PG_GETARG_INT64

#define PG_GETARG_INT64 (   n)    DatumGetInt64(PG_GETARG_DATUM(n))

Definition at line 252 of file fmgr.h.

Referenced by be_lo_get_fragment(), be_lo_lseek64(), be_lo_put(), be_lo_truncate64(), bitfromint8(), brin_desummarize_range(), brin_summarize_range(), btint28cmp(), btint48cmp(), btint82cmp(), btint84cmp(), btint8cmp(), cash_div_int8(), cash_mul_int8(), gbt_int8_consistent(), gbt_int8_distance(), generate_series_step_int8(), hash_aclitem_extended(), hash_array_extended(), hash_bitmap_info(), hash_numeric_extended(), hashbpcharextended(), hashcharextended(), hashenumextended(), hashfloat4extended(), hashfloat8extended(), hashinetextended(), hashint2extended(), hashint4extended(), hashint8(), hashint8extended(), hashmacaddr8extended(), hashmacaddrextended(), hashnameextended(), hashoidextended(), hashoidvectorextended(), hashtextextended(), hashvarlenaextended(), i8tod(), i8tof(), i8tooid(), in_range_int4_int8(), in_range_int8_int8(), inetmi_int8(), inetpl(), int28div(), int28eq(), int28ge(), int28gt(), int28le(), int28lt(), int28mi(), int28mul(), int28ne(), int28pl(), int2_sum(), int48div(), int48eq(), int48ge(), int48gt(), int48le(), int48lt(), int48mi(), int48mul(), int48ne(), int48pl(), int4_sum(), int82(), int82div(), int82eq(), int82ge(), int82gt(), int82le(), int82lt(), int82mi(), int82mul(), int82ne(), int82pl(), int84(), int84div(), int84eq(), int84ge(), int84gt(), int84le(), int84lt(), int84mi(), int84mul(), int84ne(), int84pl(), int8_avg_accum(), int8_avg_accum_inv(), int8_cash(), int8_dist(), int8_mul_cash(), int8_numeric(), int8_to_char(), int8abs(), int8and(), int8dec(), int8div(), int8eq(), int8ge(), int8gt(), int8inc(), int8larger(), int8le(), int8lt(), int8mi(), int8mod(), int8mul(), int8ne(), int8not(), int8or(), int8out(), int8pl(), int8range_subdiff(), int8send(), int8shl(), int8shr(), int8smaller(), int8um(), int8up(), int8xor(), jsonb_hash_extended(), numeric_fac(), pg_advisory_lock_int8(), pg_advisory_lock_shared_int8(), pg_advisory_unlock_int8(), pg_advisory_unlock_shared_int8(), pg_advisory_xact_lock_int8(), pg_advisory_xact_lock_shared_int8(), pg_freespace(), pg_prewarm(), pg_read_binary_file(), pg_read_file(), pg_read_file_v2(), pg_size_pretty(), pg_try_advisory_lock_int8(), pg_try_advisory_lock_shared_int8(), pg_try_advisory_xact_lock_int8(), pg_try_advisory_xact_lock_shared_int8(), pg_visibility(), pg_visibility_map(), setval3_oid(), setval_oid(), test_bloomfilter(), test_shm_mq(), test_shm_mq_pipelined(), to_hex64(), txid_status(), txid_visible_in_snapshot(), and uuid_hash_extended().

◆ PG_GETARG_NAME

#define PG_GETARG_NAME (   n)    DatumGetName(PG_GETARG_DATUM(n))

Definition at line 248 of file fmgr.h.

Referenced by btnamecmp(), get_timetravel(), has_any_column_privilege_name_id(), has_any_column_privilege_name_name(), has_column_privilege_name_id_attnum(), has_column_privilege_name_id_name(), has_column_privilege_name_name_attnum(), has_column_privilege_name_name_name(), has_database_privilege_name_id(), has_database_privilege_name_name(), has_foreign_data_wrapper_privilege_name_id(), has_foreign_data_wrapper_privilege_name_name(), has_function_privilege_name_id(), has_function_privilege_name_name(), has_language_privilege_name_id(), has_language_privilege_name_name(), has_schema_privilege_name_id(), has_schema_privilege_name_name(), has_sequence_privilege_name_id(), has_sequence_privilege_name_name(), has_server_privilege_name_id(), has_server_privilege_name_name(), has_table_privilege_name_id(), has_table_privilege_name_name(), has_tablespace_privilege_name_id(), has_tablespace_privilege_name_name(), has_type_privilege_name_id(), has_type_privilege_name_name(), hashname(), hashnameextended(), length_in_encoding(), name_bpchar(), name_text(), nameeq(), namege(), namegt(), nameiclike(), nameicnlike(), nameicregexeq(), nameicregexne(), namele(), namelike(), namelt(), namene(), namenlike(), nameout(), nameregexeq(), nameregexne(), namesend(), PG_char_to_encoding(), pg_convert(), pg_create_logical_replication_slot(), pg_create_physical_replication_slot(), pg_database_size_name(), pg_drop_replication_slot(), pg_extension_update_paths(), pg_has_role_id_name(), pg_has_role_name(), pg_has_role_name_id(), pg_has_role_name_name(), pg_logical_slot_get_changes_guts(), pg_replication_slot_advance(), pg_tablespace_size_name(), schema_to_xml(), schema_to_xml_and_xmlschema(), schema_to_xmlschema(), set_timetravel(), and to_ascii_encname().

◆ PG_GETARG_OID

#define PG_GETARG_OID (   n)    DatumGetObjectId(PG_GETARG_DATUM(n))

Definition at line 245 of file fmgr.h.

Referenced by acldefault_sql(), amvalidate(), array_in(), array_recv(), arraycontjoinsel(), arraycontsel(), be_lo_create(), be_lo_export(), be_lo_from_bytea(), be_lo_get(), be_lo_get_fragment(), be_lo_import_with_oid(), be_lo_open(), be_lo_put(), be_lo_unlink(), binary_upgrade_set_next_array_pg_type_oid(), binary_upgrade_set_next_heap_pg_class_oid(), binary_upgrade_set_next_index_pg_class_oid(), binary_upgrade_set_next_pg_authid_oid(), binary_upgrade_set_next_pg_enum_oid(), binary_upgrade_set_next_pg_type_oid(), binary_upgrade_set_next_toast_pg_class_oid(), binary_upgrade_set_next_toast_pg_type_oid(), bit_in(), bit_recv(), bpcharin(), bpcharrecv(), brin_desummarize_range(), brin_inclusion_opcinfo(), brin_minmax_opcinfo(), brin_page_items(), brin_summarize_range(), bt_index_check(), bt_index_parent_check(), btoidcmp(), currtid_byreloid(), currval_oid(), dblink_fdw_validator(), domain_in(), domain_recv(), enum_cmp(), enum_eq(), enum_ge(), enum_gt(), enum_in(), enum_larger(), enum_le(), enum_lt(), enum_ne(), enum_out(), enum_range_bounds(), enum_recv(), enum_send(), enum_smaller(), eqjoinsel(), eqsel_internal(), file_fdw_validator(), fmgr_c_validator(), fmgr_internal_validator(), fmgr_sql_validator(), format_type(), gbt_enum_consistent(), gbt_oid_consistent(), gbt_oid_distance(), gin_clean_pending_list(), gin_enum_cmp(), has_any_column_privilege_id(), has_any_column_privilege_id_id(), has_any_column_privilege_id_name(), has_any_column_privilege_name_id(), has_column_privilege_id_attnum(), has_column_privilege_id_id_attnum(), has_column_privilege_id_id_name(), has_column_privilege_id_name(), has_column_privilege_id_name_attnum(), has_column_privilege_id_name_name(), has_column_privilege_name_id_attnum(), has_column_privilege_name_id_name(), has_database_privilege_id(), has_database_privilege_id_id(), has_database_privilege_id_name(), has_database_privilege_name_id(), has_foreign_data_wrapper_privilege_id(), has_foreign_data_wrapper_privilege_id_id(), has_foreign_data_wrapper_privilege_id_name(), has_foreign_data_wrapper_privilege_name_id(), has_function_privilege_id(), has_function_privilege_id_id(), has_function_privilege_id_name(), has_function_privilege_name_id(), has_language_privilege_id(), has_language_privilege_id_id(), has_language_privilege_id_name(), has_language_privilege_name_id(), has_schema_privilege_id(), has_schema_privilege_id_id(), has_schema_privilege_id_name(), has_schema_privilege_name_id(), has_sequence_privilege_id(), has_sequence_privilege_id_id(), has_sequence_privilege_id_name(), has_sequence_privilege_name_id(), has_server_privilege_id(), has_server_privilege_id_id(), has_server_privilege_id_name(), has_server_privilege_name_id(), has_table_privilege_id(), has_table_privilege_id_id(), has_table_privilege_id_name(), has_table_privilege_name_id(), has_tablespace_privilege_id(), has_tablespace_privilege_id_id(), has_tablespace_privilege_id_name(), has_tablespace_privilege_name_id(), has_type_privilege_id(), has_type_privilege_id_id(), has_type_privilege_id_name(), has_type_privilege_name_id(), hash_bitmap_info(), hashenum(), hashenumextended(), hashoid(), hashoidextended(), interval_in(), interval_recv(), json_string_to_tsvector_byid(), json_to_tsvector_byid(), jsonb_string_to_tsvector_byid(), jsonb_to_tsvector_byid(), ltreeparentsel(), makeaclitem(), neqjoinsel(), networkjoinsel(), networksel(), nextval_oid(), numeric_in(), numeric_recv(), oid_dist(), oideq(), oidge(), oidgt(), oidlarger(), oidle(), oidlt(), oidne(), oidout(), oidsend(), oidsmaller(), oidtoi8(), patternsel(), pg_check_frozen(), pg_check_visible(), pg_collation_actual_version(), pg_collation_is_visible(), pg_column_is_updatable(), pg_conversion_is_visible(), pg_database_size_oid(), pg_describe_object(), pg_extension_config_dump(), pg_filenode_relation(), pg_freespace(), pg_function_is_visible(), pg_get_constraintdef(), pg_get_constraintdef_ext(), pg_get_expr(), pg_get_expr_ext(), pg_get_function_arg_default(), pg_get_function_arguments(), pg_get_function_identity_arguments(), pg_get_function_result(), pg_get_functiondef(), pg_get_indexdef(), pg_get_indexdef_ext(), pg_get_partition_constraintdef(), pg_get_partkeydef(), pg_get_replica_identity_index(), pg_get_ruledef(), pg_get_ruledef_ext(), pg_get_statisticsobjdef(), pg_get_triggerdef(), pg_get_triggerdef_ext(), pg_get_userbyid(), pg_get_viewdef(), pg_get_viewdef_ext(), pg_get_viewdef_wrap(), pg_has_role_id(), pg_has_role_id_id(), pg_has_role_id_name(), pg_has_role_name_id(), pg_identify_object(), pg_identify_object_as_address(), pg_import_system_collations(), pg_index_column_has_property(), pg_index_has_property(), pg_indexam_has_property(), pg_indexes_size(), pg_is_other_temp_schema(), pg_opclass_is_visible(), pg_operator_is_visible(), pg_opfamily_is_visible(), pg_prewarm(), pg_relation_filenode(), pg_relation_filepath(), pg_relation_is_publishable(), pg_relation_is_updatable(), pg_relation_size(), pg_relpagesbyid(), pg_relpagesbyid_v1_5(), pg_sequence_last_value(), pg_sequence_parameters(), pg_stat_get_analyze_count(), pg_stat_get_autoanalyze_count(), pg_stat_get_autovacuum_count(), pg_stat_get_blocks_fetched(), pg_stat_get_blocks_hit(), pg_stat_get_db_blk_read_time(), pg_stat_get_db_blk_write_time(), pg_stat_get_db_blocks_fetched(), pg_stat_get_db_blocks_hit(), pg_stat_get_db_conflict_all(), pg_stat_get_db_conflict_bufferpin(), pg_stat_get_db_conflict_lock(), pg_stat_get_db_conflict_snapshot(), pg_stat_get_db_conflict_startup_deadlock(), pg_stat_get_db_conflict_tablespace(), pg_stat_get_db_deadlocks(), pg_stat_get_db_numbackends(), pg_stat_get_db_stat_reset_time(), pg_stat_get_db_temp_bytes(), pg_stat_get_db_temp_files(), pg_stat_get_db_tuples_deleted(), pg_stat_get_db_tuples_fetched(), pg_stat_get_db_tuples_inserted(), pg_stat_get_db_tuples_returned(), pg_stat_get_db_tuples_updated(), pg_stat_get_db_xact_commit(), pg_stat_get_db_xact_rollback(), pg_stat_get_dead_tuples(), pg_stat_get_function_calls(), pg_stat_get_function_self_time(), pg_stat_get_function_total_time(), pg_stat_get_last_analyze_time(), pg_stat_get_last_autoanalyze_time(), pg_stat_get_last_autovacuum_time(), pg_stat_get_last_vacuum_time(), pg_stat_get_live_tuples(), pg_stat_get_mod_since_analyze(), pg_stat_get_numscans(), pg_stat_get_subscription(), pg_stat_get_tuples_deleted(), pg_stat_get_tuples_fetched(), pg_stat_get_tuples_hot_updated(), pg_stat_get_tuples_inserted(), pg_stat_get_tuples_returned(), pg_stat_get_tuples_updated(), pg_stat_get_vacuum_count(), pg_stat_get_xact_blocks_fetched(), pg_stat_get_xact_blocks_hit(), pg_stat_get_xact_function_calls(), pg_stat_get_xact_function_self_time(), pg_stat_get_xact_function_total_time(), pg_stat_get_xact_numscans(), pg_stat_get_xact_tuples_deleted(), pg_stat_get_xact_tuples_fetched(), pg_stat_get_xact_tuples_hot_updated(), pg_stat_get_xact_tuples_inserted(), pg_stat_get_xact_tuples_returned(), pg_stat_get_xact_tuples_updated(), pg_stat_reset_single_function_counters(), pg_stat_reset_single_table_counters(), pg_statistics_obj_is_visible(), pg_table_is_visible(), pg_table_size(), pg_tablespace_databases(), pg_tablespace_location(), pg_tablespace_size_oid(), pg_total_relation_size(), pg_truncate_visibility_map(), pg_ts_config_is_visible(), pg_ts_dict_is_visible(), pg_ts_parser_is_visible(), pg_ts_template_is_visible(), pg_type_is_visible(), pg_visibility(), pg_visibility_map(), pg_visibility_map_rel(), pg_visibility_map_summary(), pg_visibility_rel(), pgstatginindex(), pgstatginindex_v1_5(), pgstathashindex(), pgstatindexbyid(), pgstatindexbyid_v1_5(), pgstattuple_approx(), pgstattuple_approx_v1_5(), pgstattuplebyid(), pgstattuplebyid_v1_5(), phraseto_tsquery_byid(), plainto_tsquery_byid(), plperl_validator(), plpgsql_validator(), plpython_validator(), postgres_fdw_validator(), postgresql_fdw_validator(), range_in(), range_recv(), rangesel(), record_in(), record_recv(), regclassout(), regconfigout(), regdictionaryout(), regnamespaceout(), regoperatorout(), regoperout(), regprocedureout(), regprocout(), regroleout(), regtypeout(), row_security_active(), satisfies_hash_partition(), scalarineqsel_wrapper(), setval3_oid(), setval_oid(), table_to_xml(), table_to_xml_and_xmlschema(), table_to_xmlschema(), time_in(), time_recv(), timestamp_in(), timestamp_recv(), timestamptz_in(), timestamptz_recv(), timetz_in(), timetz_recv(), to_tsquery_byid(), to_tsvector_byid(), ts_headline_byid_opt(), ts_headline_json_byid_opt(), ts_headline_jsonb_byid_opt(), ts_lexize(), ts_parse_byid(), ts_token_type_byid(), tsmatchsel(), tuple_data_split(), unaccent_dict(), varbit_in(), varbit_recv(), varcharin(), varcharrecv(), and websearch_to_tsquery_byid().

◆ PG_GETARG_POINTER

#define PG_GETARG_POINTER (   n)    DatumGetPointer(PG_GETARG_DATUM(n))

Definition at line 246 of file fmgr.h.

Referenced by _int_different(), _int_matchsel(), _ltree_compress(), _ltree_consistent(), _ltree_penalty(), _ltree_picksplit(), _ltree_same(), _ltree_union(), abstimerecv(), array_agg_array_finalfn(), array_agg_array_transfn(), array_agg_finalfn(), array_agg_transfn(), array_recv(), array_typanalyze(), arraycontsel(), bit_recv(), bool_accum(), bool_accum_inv(), bool_alltrue(), bool_anytrue(), boolrecv(), box_recv(), bpchar_sortsupport(), bpcharrecv(), bqarr_in(), brin_inclusion_add_value(), brin_inclusion_consistent(), brin_inclusion_union(), brin_minmax_add_value(), brin_minmax_consistent(), brin_minmax_union(), btbpchar_pattern_sortsupport(), btfloat4sortsupport(), btfloat8sortsupport(), btint2sortsupport(), btint4sortsupport(), btint8sortsupport(), btnamesortsupport(), btoidsortsupport(), btoidvectorcmp(), bttext_pattern_sortsupport(), bttextsortsupport(), bytea_sortsupport(), bytea_string_agg_finalfn(), bytea_string_agg_transfn(), bytearecv(), cash_recv(), charrecv(), cidr_recv(), cidrecv(), circle_recv(), complex_abs_cmp(), complex_abs_eq(), complex_abs_ge(), complex_abs_gt(), complex_abs_le(), complex_abs_lt(), complex_add(), complex_out(), complex_recv(), complex_send(), cstring_recv(), date_recv(), date_sortsupport(), dblink_build_sql_delete(), dblink_build_sql_insert(), dblink_build_sql_update(), dintdict_init(), dintdict_lexize(), dispell_init(), dispell_lexize(), domain_recv(), dsimple_init(), dsimple_lexize(), dsnowball_init(), dsnowball_lexize(), dsynonym_init(), dsynonym_lexize(), dxsyn_init(), dxsyn_lexize(), enum_recv(), eqjoinsel(), eqsel_internal(), extract_variadic_args(), float4recv(), float8recv(), g_cube_consistent(), g_cube_decompress(), g_cube_distance(), g_cube_penalty(), g_cube_picksplit(), g_cube_same(), g_cube_union(), g_int_compress(), g_int_consistent(), g_int_decompress(), g_int_penalty(), g_int_picksplit(), g_int_same(), g_int_union(), g_intbig_compress(), g_intbig_consistent(), g_intbig_penalty(), g_intbig_picksplit(), g_intbig_same(), g_intbig_union(), gbt_bit_compress(), gbt_bit_consistent(), gbt_bit_penalty(), gbt_bit_picksplit(), gbt_bit_same(), gbt_bit_union(), gbt_bpchar_compress(), gbt_bpchar_consistent(), gbt_bytea_compress(), gbt_bytea_consistent(), gbt_bytea_penalty(), gbt_bytea_picksplit(), gbt_bytea_same(), gbt_bytea_union(), gbt_cash_compress(), gbt_cash_consistent(), gbt_cash_distance(), gbt_cash_fetch(), gbt_cash_penalty(), gbt_cash_picksplit(), gbt_cash_same(), gbt_cash_union(), gbt_date_compress(), gbt_date_consistent(), gbt_date_distance(), gbt_date_fetch(), gbt_date_penalty(), gbt_date_picksplit(), gbt_date_same(), gbt_date_union(), gbt_decompress(), gbt_enum_compress(), gbt_enum_consistent(), gbt_enum_fetch(), gbt_enum_penalty(), gbt_enum_picksplit(), gbt_enum_same(), gbt_enum_union(), gbt_float4_compress(), gbt_float4_consistent(), gbt_float4_distance(), gbt_float4_fetch(), gbt_float4_penalty(), gbt_float4_picksplit(), gbt_float4_same(), gbt_float4_union(), gbt_float8_compress(), gbt_float8_consistent(), gbt_float8_distance(), gbt_float8_fetch(), gbt_float8_penalty(), gbt_float8_picksplit(), gbt_float8_same(), gbt_float8_union(), gbt_inet_compress(), gbt_inet_consistent(), gbt_inet_penalty(), gbt_inet_picksplit(), gbt_inet_same(), gbt_inet_union(), gbt_int2_compress(), gbt_int2_consistent(), gbt_int2_distance(), gbt_int2_fetch(), gbt_int2_penalty(), gbt_int2_picksplit(), gbt_int2_same(), gbt_int2_union(), gbt_int4_compress(), gbt_int4_consistent(), gbt_int4_distance(), gbt_int4_fetch(), gbt_int4_penalty(), gbt_int4_picksplit(), gbt_int4_same(), gbt_int4_union(), gbt_int8_compress(), gbt_int8_consistent(), gbt_int8_distance(), gbt_int8_fetch(), gbt_int8_penalty(), gbt_int8_picksplit(), gbt_int8_same(), gbt_int8_union(), gbt_intv_compress(), gbt_intv_consistent(), gbt_intv_decompress(), gbt_intv_distance(), gbt_intv_fetch(), gbt_intv_penalty(), gbt_intv_picksplit(), gbt_intv_same(), gbt_intv_union(), gbt_macad8_compress(), gbt_macad8_consistent(), gbt_macad8_fetch(), gbt_macad8_penalty(), gbt_macad8_picksplit(), gbt_macad8_same(), gbt_macad8_union(), gbt_macad_compress(), gbt_macad_consistent(), gbt_macad_fetch(), gbt_macad_penalty(), gbt_macad_picksplit(), gbt_macad_same(), gbt_macad_union(), gbt_numeric_compress(), gbt_numeric_consistent(), gbt_numeric_penalty(), gbt_numeric_picksplit(), gbt_numeric_same(), gbt_numeric_union(), gbt_oid_compress(), gbt_oid_consistent(), gbt_oid_distance(), gbt_oid_fetch(), gbt_oid_penalty(), gbt_oid_picksplit(), gbt_oid_same(), gbt_oid_union(), gbt_text_compress(), gbt_text_consistent(), gbt_text_penalty(), gbt_text_picksplit(), gbt_text_same(), gbt_text_union(), gbt_time_compress(), gbt_time_consistent(), gbt_time_distance(), gbt_time_fetch(), gbt_time_penalty(), gbt_time_picksplit(), gbt_time_same(), gbt_time_union(), gbt_timetz_compress(), gbt_timetz_consistent(), gbt_ts_compress(), gbt_ts_consistent(), gbt_ts_distance(), gbt_ts_fetch(), gbt_ts_penalty(), gbt_ts_picksplit(), gbt_ts_same(), gbt_ts_union(), gbt_tstz_compress(), gbt_tstz_consistent(), gbt_tstz_distance(), gbt_uuid_compress(), gbt_uuid_consistent(), gbt_uuid_fetch(), gbt_uuid_penalty(), gbt_uuid_picksplit(), gbt_uuid_same(), gbt_uuid_union(), gbt_var_decompress(), gbt_var_fetch(), get_altertable_subcmdtypes(), get_command_tag(), get_command_type(), ghstore_compress(), ghstore_consistent(), ghstore_decompress(), ghstore_penalty(), ghstore_picksplit(), ghstore_same(), ghstore_union(), gin_btree_compare_prefix(), gin_btree_consistent(), gin_btree_extract_query(), gin_btree_extract_value(), gin_cmp_prefix(), gin_consistent_hstore(), gin_consistent_jsonb(), gin_consistent_jsonb_path(), gin_extract_hstore(), gin_extract_hstore_query(), gin_extract_jsonb(), gin_extract_jsonb_path(), gin_extract_jsonb_query(), gin_extract_jsonb_query_path(), gin_extract_query_trgm(), gin_extract_tsquery(), gin_extract_tsvector(), gin_extract_value_trgm(), gin_numeric_cmp(), gin_trgm_consistent(), gin_trgm_triconsistent(), gin_triconsistent_jsonb(), gin_triconsistent_jsonb_path(), gin_tsquery_consistent(), gin_tsquery_triconsistent(), ginarrayconsistent(), ginarrayextract(), ginarraytriconsistent(), ginint4_consistent(), ginint4_queryextract(), ginqueryarrayextract(), gist_box_consistent(), gist_box_penalty(), gist_box_picksplit(), gist_box_same(), gist_box_union(), gist_circle_compress(), gist_circle_consistent(), gist_circle_distance(), gist_point_compress(), gist_point_consistent(), gist_point_distance(), gist_point_fetch(), gist_poly_compress(), gist_poly_consistent(), gist_poly_distance(), gseg_compress(), gseg_consistent(), gseg_decompress(), gseg_penalty(), gseg_picksplit(), gseg_same(), gseg_union(), gtrgm_compress(), gtrgm_consistent(), gtrgm_decompress(), gtrgm_distance(), gtrgm_penalty(), gtrgm_picksplit(), gtrgm_same(), gtrgm_union(), gtsquery_compress(), gtsquery_consistent(), gtsquery_penalty(), gtsquery_picksplit(), gtsquery_same(), gtsquery_union(), gtsvector_compress(), gtsvector_consistent(), gtsvector_decompress(), gtsvector_penalty(), gtsvector_picksplit(), gtsvector_same(), gtsvector_union(), gtsvectorout(), hashoidvector(), hashoidvectorextended(), hstore_recv(), hypothetical_dense_rank_final(), hypothetical_rank_common(), inet_gist_compress(), inet_gist_consistent(), inet_gist_fetch(), inet_gist_penalty(), inet_gist_picksplit(), inet_gist_same(), inet_gist_union(), inet_recv(), inet_spg_choose(), inet_spg_config(), inet_spg_inner_consistent(), inet_spg_leaf_consistent(), inet_spg_picksplit(), int2_accum(), int2_accum_inv(), int2_sum(), int2recv(), int2vectorout(), int2vectorrecv(), int44out(), int4_accum(), int4_accum_inv(), int4_sum(), int4recv(), int8_accum(), int8_accum_inv(), int8_avg_accum(), int8_avg_accum_inv(), int8_avg_combine(), int8_avg_serialize(), int8dec(), int8inc(), int8recv(), interval_recv(), interval_transform(), json_agg_finalfn(), json_agg_transfn(), json_object_agg_finalfn(), json_object_agg_transfn(), json_recv(), jsonb_agg_finalfn(), jsonb_agg_transfn(), jsonb_object_agg_finalfn(), jsonb_object_agg_transfn(), jsonb_recv(), line_recv(), lquery_in(), lseg_recv(), ltree_compress(), ltree_consistent(), ltree_decompress(), ltree_in(), ltree_penalty(), ltree_picksplit(), ltree_same(), ltree_union(), ltreeparentsel(), ltxtq_in(), macaddr8_recv(), macaddr_recv(), macaddr_sortsupport(), mode_final(), namerecv(), neqjoinsel(), networkjoinsel(), networksel(), numeric_accum(), numeric_accum_inv(), numeric_avg(), numeric_avg_accum(), numeric_avg_combine(), numeric_avg_serialize(), numeric_combine(), numeric_poly_avg(), numeric_poly_combine(), numeric_poly_serialize(), numeric_poly_stddev_pop(), numeric_poly_stddev_samp(), numeric_poly_sum(), numeric_poly_var_pop(), numeric_poly_var_samp(), numeric_recv(), numeric_serialize(), numeric_sortsupport(), numeric_stddev_pop(), numeric_stddev_samp(), numeric_sum(), numeric_transform(), numeric_var_pop(), numeric_var_samp(), oidrecv(), oidvectorout(), oidvectorrecv(), oidvectortypes(), ordered_set_transition(), ordered_set_transition_multi(), path_recv(), patternsel(), percentile_cont_final_common(), percentile_cont_multi_final_common(), percentile_disc_final(), percentile_disc_multi_final(), pg_lsn_recv(), plperl_inline_handler(), plperl_to_hstore(), plperl_to_jsonb(), plpython_to_hstore(), plpython_to_jsonb(), point_recv(), poly_recv(), prsd_end(), prsd_headline(), prsd_nexttoken(), prsd_start(), pt_in_widget(), range_gist_consistent(), range_gist_penalty(), range_gist_picksplit(), range_gist_same(), range_gist_union(), range_recv(), range_typanalyze(), rangesel(), record_recv(), regress_putenv(), reltimerecv(), scalarineqsel_wrapper(), spg_bbox_quad_config(), spg_box_quad_choose(), spg_box_quad_config(), spg_box_quad_inner_consistent(), spg_box_quad_leaf_consistent(), spg_box_quad_picksplit(), spg_kd_choose(), spg_kd_config(), spg_kd_inner_consistent(), spg_kd_picksplit(), spg_quad_choose(), spg_quad_config(), spg_quad_inner_consistent(), spg_quad_leaf_consistent(), spg_quad_picksplit(), spg_range_quad_choose(), spg_range_quad_config(), spg_range_quad_inner_consistent(), spg_range_quad_leaf_consistent(), spg_range_quad_picksplit(), spg_text_choose(), spg_text_config(), spg_text_inner_consistent(), spg_text_leaf_consistent(), spg_text_picksplit(), string_agg_finalfn(), string_agg_transfn(), testprs_end(), testprs_getlexeme(), testprs_start(), textrecv(), thesaurus_init(), thesaurus_lexize(), tidrecv(), time_recv(), time_transform(), timestamp_recv(), timestamp_sortsupport(), timestamp_transform(), timestamptz_recv(), timetz_recv(), tintervalrecv(), ts_headline_byid_opt(), ts_headline_json_byid_opt(), ts_headline_jsonb_byid_opt(), ts_typanalyze(), tsmatchsel(), tsqueryrecv(), tsvectorrecv(), txid_snapshot_recv(), unaccent_init(), unaccent_lexize(), unknownrecv(), uuid_recv(), uuid_sortsupport(), varbit_recv(), varbit_transform(), varchar_transform(), varcharrecv(), widget_out(), xidrecv(), and xml_recv().

◆ PG_GETARG_RAW_VARLENA_P

#define PG_GETARG_RAW_VARLENA_P (   n)    ((struct varlena *) PG_GETARG_POINTER(n))

Definition at line 254 of file fmgr.h.

◆ PG_GETARG_TEXT_P

◆ PG_GETARG_TEXT_P_COPY

#define PG_GETARG_TEXT_P_COPY (   n)    DatumGetTextPCopy(PG_GETARG_DATUM(n))

◆ PG_GETARG_TEXT_P_SLICE

#define PG_GETARG_TEXT_P_SLICE (   n,
  a,
 
)    DatumGetTextPSlice(PG_GETARG_DATUM(n),a,b)

Definition at line 290 of file fmgr.h.

◆ PG_GETARG_TEXT_PP

#define PG_GETARG_TEXT_PP (   n)    DatumGetTextPP(PG_GETARG_DATUM(n))

Definition at line 278 of file fmgr.h.

Referenced by array_to_text(), array_to_text_null(), ascii(), be_lo_export(), be_lo_import(), be_lo_import_with_oid(), binary_decode(), binary_upgrade_create_empty_extension(), bt_metap(), bt_page_items(), bt_page_stats(), btrim(), btrim1(), bttext_pattern_cmp(), bttextcmp(), citext_cmp(), citext_eq(), citext_ge(), citext_gt(), citext_hash(), citext_larger(), citext_le(), citext_lt(), citext_ne(), citext_pattern_cmp(), citext_pattern_ge(), citext_pattern_gt(), citext_pattern_le(), citext_pattern_lt(), citext_smaller(), concat_text(), connectby_text(), connectby_text_serial(), copytext(), crosstab(), crosstab_hash(), currtid_byrelname(), cursor_to_xml(), cursor_to_xmlschema(), database_to_xml(), database_to_xml_and_xmlschema(), database_to_xmlschema(), dblink_build_sql_delete(), dblink_build_sql_insert(), dblink_build_sql_update(), dblink_cancel_query(), dblink_close(), dblink_connect(), dblink_disconnect(), dblink_error_message(), dblink_exec(), dblink_fetch(), dblink_get_notify(), dblink_get_pkey(), dblink_is_busy(), dblink_open(), dblink_record_internal(), dblink_send_query(), difference(), dmetaphone(), dmetaphone_alt(), each_worker(), elements_worker(), float4_to_char(), float8_to_char(), get_path_all(), get_raw_page(), get_raw_page_fork(), ghstore_consistent(), gin_cmp_prefix(), gin_cmp_tslexeme(), gin_compare_jsonb(), gin_extract_hstore_query(), gin_extract_jsonb_query(), gin_extract_query_trgm(), gin_extract_value_trgm(), has_any_column_privilege_id(), has_any_column_privilege_id_id(), has_any_column_privilege_id_name(), has_any_column_privilege_name(), has_any_column_privilege_name_id(), has_any_column_privilege_name_name(), has_column_privilege_id_attnum(), has_column_privilege_id_id_attnum(), has_column_privilege_id_id_name(), has_column_privilege_id_name(), has_column_privilege_id_name_attnum(), has_column_privilege_id_name_name(), has_column_privilege_name_attnum(), has_column_privilege_name_id_attnum(), has_column_privilege_name_id_name(), has_column_privilege_name_name(), has_column_privilege_name_name_attnum(), has_column_privilege_name_name_name(), has_database_privilege_id(), has_database_privilege_id_id(), has_database_privilege_id_name(), has_database_privilege_name(), has_database_privilege_name_id(), has_database_privilege_name_name(), has_foreign_data_wrapper_privilege_id(), has_foreign_data_wrapper_privilege_id_id(), has_foreign_data_wrapper_privilege_id_name(), has_foreign_data_wrapper_privilege_name(), has_foreign_data_wrapper_privilege_name_id(), has_foreign_data_wrapper_privilege_name_name(), has_function_privilege_id(), has_function_privilege_id_id(), has_function_privilege_id_name(), has_function_privilege_name(), has_function_privilege_name_id(), has_function_privilege_name_name(), has_language_privilege_id(), has_language_privilege_id_id(), has_language_privilege_id_name(), has_language_privilege_name(), has_language_privilege_name_id(), has_language_privilege_name_name(), has_schema_privilege_id(), has_schema_privilege_id_id(), has_schema_privilege_id_name(), has_schema_privilege_name(), has_schema_privilege_name_id(), has_schema_privilege_name_name(), has_sequence_privilege_id(), has_sequence_privilege_id_id(), has_sequence_privilege_id_name(), has_sequence_privilege_name(), has_sequence_privilege_name_id(), has_sequence_privilege_name_name(), has_server_privilege_id(), has_server_privilege_id_id(), has_server_privilege_id_name(), has_server_privilege_name(), has_server_privilege_name_id(), has_server_privilege_name_name(), has_table_privilege_id(), has_table_privilege_id_id(), has_table_privilege_id_name(), has_table_privilege_name(), has_table_privilege_name_id(), has_table_privilege_name_name(), has_tablespace_privilege_id(), has_tablespace_privilege_id_id(), has_tablespace_privilege_id_name(), has_tablespace_privilege_name(), has_tablespace_privilege_name_id(), has_tablespace_privilege_name_name(), has_type_privilege_id(), has_type_privilege_id_id(), has_type_privilege_id_name(), has_type_privilege_name(), has_type_privilege_name_id(), has_type_privilege_name_name(), hashtext(), hashtextextended(), hstore_defined(), hstore_delete(), hstore_exists(), hstore_fetchval(), hstore_from_text(), initcap(), int4_to_char(), int8_to_char(), interval_part(), interval_to_char(), interval_trunc(), json_array_element(), json_array_element_text(), json_array_length(), json_object_field(), json_object_field_text(), json_object_keys(), json_send(), json_strip_nulls(), json_typeof(), jsonb_delete(), jsonb_exists(), jsonb_object_field(), jsonb_object_field_text(), levenshtein(), levenshtein_less_equal(), levenshtein_less_equal_with_costs(), levenshtein_with_costs(), like_escape(), lower(), lpad(), ltree_addtext(), ltree_textadd(), ltrim(), ltrim1(), make_timestamptz_at_timezone(), makeaclitem(), md5_text(), nameiclike(), nameicnlike(), nameicregexeq(), nameicregexne(), namelike(), namenlike(), nameregexeq(), nameregexne(), nextval(), numeric_to_char(), numeric_to_number(), parse_ident(), pg_create_restore_point(), pg_crypt(), pg_current_logfile(), pg_dearmor(), pg_decrypt(), pg_decrypt_iv(), pg_digest(), pg_encrypt(), pg_encrypt_iv(), pg_extension_config_dump(), pg_file_rename(), pg_file_rename_v1_1(), pg_file_unlink(), pg_file_unlink_v1_1(), pg_file_write(), pg_file_write_v1_1(), pg_gen_salt(), pg_gen_salt_rounds(), pg_get_expr(), pg_get_expr_ext(), pg_get_publication_tables(), pg_get_serial_sequence(), pg_get_viewdef_name(), pg_get_viewdef_name_ext(), pg_has_role_id(), pg_has_role_id_id(), pg_has_role_id_name(), pg_has_role_name(), pg_has_role_name_id(), pg_has_role_name_name(), pg_hmac(), pg_index_column_has_property(), pg_index_has_property(), pg_indexam_has_property(), pg_logical_emit_message_bytea(), pg_ls_dir(), pg_notify(), pg_prewarm(), pg_read_binary_file(), pg_read_file(), pg_read_file_v2(), pg_relation_size(), pg_relpages(), pg_relpages_v1_5(), pg_replication_origin_advance(), pg_size_bytes(), pg_start_backup(), pg_stat_file(), pg_stat_get_progress_info(), pg_stat_reset_shared(), pgp_armor_headers(), pgrowlocks(), pgstatindex(), pgstatindex_v1_5(), pgstattuple(), pgstattuple_v1_5(), phraseto_tsquery(), phraseto_tsquery_byid(), plainto_tsquery(), plainto_tsquery_byid(), populate_record_worker(), populate_recordset_worker(), query_to_xml(), query_to_xml_and_xmlschema(), query_to_xmlschema(), quote_ident(), quote_literal(), range_constructor3(), regexp_match(), regexp_matches(), regexp_split_to_array(), regexp_split_to_table(), repeat(), replace_text(), row_security_active_name(), rpad(), rtrim(), rtrim1(), schema_to_xml(), schema_to_xml_and_xmlschema(), schema_to_xmlschema(), sepgsql_mcstrans_in(), sepgsql_mcstrans_out(), show_trgm(), similar_escape(), similarity(), sort(), soundex(), split_text(), ssl_client_dn_field(), ssl_issuer_field(), strict_word_similarity(), strict_word_similarity_commutator_op(), strict_word_similarity_dist_commutator_op(), strict_word_similarity_dist_op(), strict_word_similarity_op(), string_agg_transfn(), table_to_xml(), table_to_xml_and_xmlschema(), table_to_xmlschema(), test_predtest(), test_shm_mq(), test_shm_mq_pipelined(), text2ltree(), text_char(), text_concat_ws(), text_format(), text_ge(), text_gt(), text_larger(), text_le(), text_left(), text_lt(), text_name(), text_pattern_ge(), text_pattern_gt(), text_pattern_le(), text_pattern_lt(), text_regclass(), text_reverse(), text_right(), text_smaller(), text_to_array_internal(), textcat(), texticlike(), texticnlike(), texticregexeq(), texticregexne(), textlike(), textnlike(), textoverlay(), textoverlay_no_len(), textpos(), textregexeq(), textregexne(), textregexreplace(), textregexreplace_noopt(), textregexsubstr(), textsend(), texttoxml(), time_part(), timestamp_part(), timestamp_to_char(), timestamp_trunc(), timestamp_zone(), timestamptz_part(), timestamptz_to_char(), timestamptz_trunc(), timestamptz_zone(), timetz_part(), timetz_zone(), to_date(), to_regclass(), to_regnamespace(), to_regoper(), to_regoperator(), to_regproc(), to_regprocedure(), to_regrole(), to_regtype(), to_timestamp(), to_tsquery(), to_tsquery_byid(), to_tsvector(), to_tsvector_byid(), translate(), ts_headline_byid_opt(), ts_lexize(), ts_parse_byid(), ts_parse_byname(), ts_stat1(), ts_stat2(), ts_token_type_byname(), tsquery_rewrite_query(), tsvector_delete_str(), tuple_data_split(), unaccent_dict(), upper(), uuid_generate_v3(), uuid_generate_v5(), websearch_to_tsquery(), websearch_to_tsquery_byid(), word_similarity(), word_similarity_commutator_op(), word_similarity_dist_commutator_op(), word_similarity_dist_op(), word_similarity_op(), xml_encode_special_chars(), xml_is_well_formed(), xml_is_well_formed_content(), xml_is_well_formed_document(), xmlcomment(), xmlexists(), xpath(), xpath_bool(), xpath_exists(), xpath_list(), xpath_nodeset(), xpath_number(), xpath_string(), xpath_table(), and xslt_process().

◆ PG_GETARG_UINT16

#define PG_GETARG_UINT16 (   n)    DatumGetUInt16(PG_GETARG_DATUM(n))

Definition at line 242 of file fmgr.h.

Referenced by _ltree_consistent(), g_cube_consistent(), g_cube_distance(), g_int_consistent(), g_intbig_consistent(), gbt_bit_consistent(), gbt_bpchar_consistent(), gbt_bytea_consistent(), gbt_cash_consistent(), gbt_date_consistent(), gbt_enum_consistent(), gbt_float4_consistent(), gbt_float8_consistent(), gbt_inet_consistent(), gbt_int2_consistent(), gbt_int4_consistent(), gbt_int8_consistent(), gbt_intv_consistent(), gbt_macad8_consistent(), gbt_macad_consistent(), gbt_numeric_consistent(), gbt_oid_consistent(), gbt_text_consistent(), gbt_time_consistent(), gbt_timetz_consistent(), gbt_ts_consistent(), gbt_tstz_consistent(), gbt_uuid_consistent(), ghstore_consistent(), gin_btree_extract_query(), gin_cmp_prefix(), gin_consistent_hstore(), gin_consistent_jsonb(), gin_consistent_jsonb_path(), gin_extract_hstore_query(), gin_extract_jsonb_query(), gin_extract_jsonb_query_path(), gin_extract_query_trgm(), gin_trgm_consistent(), gin_trgm_triconsistent(), gin_triconsistent_jsonb(), gin_triconsistent_jsonb_path(), ginarrayconsistent(), ginarraytriconsistent(), ginint4_consistent(), ginint4_queryextract(), ginqueryarrayextract(), gist_box_consistent(), gist_circle_consistent(), gist_circle_distance(), gist_point_consistent(), gist_point_distance(), gist_poly_consistent(), gist_poly_distance(), gseg_consistent(), gtrgm_consistent(), gtrgm_distance(), gtsquery_consistent(), inet_gist_consistent(), ltree_consistent(), and range_gist_consistent().

◆ PG_GETARG_UINT32

◆ PG_GETARG_VARCHAR_P

#define PG_GETARG_VARCHAR_P (   n)    DatumGetVarCharP(PG_GETARG_DATUM(n))

Definition at line 307 of file fmgr.h.

◆ PG_GETARG_VARCHAR_P_COPY

#define PG_GETARG_VARCHAR_P_COPY (   n)    DatumGetVarCharPCopy(PG_GETARG_DATUM(n))

Definition at line 286 of file fmgr.h.

◆ PG_GETARG_VARCHAR_P_SLICE

#define PG_GETARG_VARCHAR_P_SLICE (   n,
  a,
 
)    DatumGetVarCharPSlice(PG_GETARG_DATUM(n),a,b)

Definition at line 292 of file fmgr.h.

◆ PG_GETARG_VARCHAR_PP

#define PG_GETARG_VARCHAR_PP (   n)    DatumGetVarCharPP(PG_GETARG_DATUM(n))

Definition at line 280 of file fmgr.h.

Referenced by varchar().

◆ PG_GETARG_VARLENA_P

◆ PG_GETARG_VARLENA_PP

#define PG_GETARG_VARLENA_PP (   n)    PG_DETOAST_DATUM_PACKED(PG_GETARG_DATUM(n))

Definition at line 258 of file fmgr.h.

Referenced by hashvarlena(), and hashvarlenaextended().

◆ PG_MAGIC_FUNCTION_NAME

#define PG_MAGIC_FUNCTION_NAME   Pg_magic_func

Definition at line 446 of file fmgr.h.

◆ PG_MAGIC_FUNCTION_NAME_STRING

#define PG_MAGIC_FUNCTION_NAME_STRING   "Pg_magic_func"

Definition at line 447 of file fmgr.h.

Referenced by internal_load_library().

◆ PG_MODULE_MAGIC

#define PG_MODULE_MAGIC
Value:
const Pg_magic_struct * \
PG_MAGIC_FUNCTION_NAME(void) \
{ \
static const Pg_magic_struct Pg_magic_data = PG_MODULE_MAGIC_DATA; \
return &Pg_magic_data; \
} \
extern int no_such_variable
#define PGDLLEXPORT
Definition: c.h:1108
#define PG_MODULE_MAGIC_DATA
Definition: fmgr.h:429
#define PG_MAGIC_FUNCTION_NAME
Definition: fmgr.h:446

Definition at line 449 of file fmgr.h.

◆ PG_MODULE_MAGIC_DATA

#define PG_MODULE_MAGIC_DATA
Value:
{ \
sizeof(Pg_magic_struct), \
PG_VERSION_NUM / 100, \
FUNC_MAX_ARGS, \
INDEX_MAX_KEYS, \
NAMEDATALEN, \
FLOAT4PASSBYVAL, \
FLOAT8PASSBYVAL \
}

Definition at line 429 of file fmgr.h.

◆ PG_NARGS

◆ PG_RETURN_BOOL

#define PG_RETURN_BOOL (   x)    return BoolGetDatum(x)

Definition at line 324 of file fmgr.h.

Referenced by _int_contains(), _int_different(), _int_overlap(), _int_same(), _lt_q_regex(), _ltq_regex(), _ltree_consistent(), _ltree_isparent(), _ltree_risparent(), _ltxtq_exec(), abstime_finite(), abstimeeq(), abstimege(), abstimegt(), abstimele(), abstimelt(), abstimene(), accept_weak_input(), aclcontains(), aclitem_eq(), amvalidate(), array_eq(), array_ge(), array_gt(), array_le(), array_lt(), array_ne(), array_typanalyze(), arraycontained(), arraycontains(), arrayoverlap(), biteq(), bitge(), bitgt(), bitle(), bitlt(), bitne(), bool_alltrue(), bool_anytrue(), booland_statefunc(), booleq(), boolge(), boolgt(), boolin(), boolle(), boollt(), boolne(), boolop(), boolor_statefunc(), boolrecv(), box_above(), box_above_eq(), box_below(), box_below_eq(), box_contain(), box_contain_pt(), box_contained(), box_eq(), box_ge(), box_gt(), box_le(), box_left(), box_lt(), box_overabove(), box_overbelow(), box_overlap(), box_overleft(), box_overright(), box_right(), box_same(), bpchar_pattern_ge(), bpchar_pattern_gt(), bpchar_pattern_le(), bpchar_pattern_lt(), bpchareq(), bpcharge(), bpchargt(), bpcharle(), bpcharlt(), bpcharne(), brin_inclusion_add_value(), brin_inclusion_consistent(), brin_minmax_add_value(), brin_minmax_consistent(), byteaeq(), byteage(), byteagt(), byteale(), bytealike(), bytealt(), byteane(), byteanlike(), c_overpaid(), cash_eq(), cash_ge(), cash_gt(), cash_le(), cash_lt(), cash_ne(), chareq(), charge(), chargt(), charle(), charlt(), charne(), cideq(), circle_above(), circle_below(), circle_contain(), circle_contain_pt(), circle_contained(), circle_eq(), circle_ge(), circle_gt(), circle_le(), circle_left(), circle_lt(), circle_ne(), circle_overabove(), circle_overbelow(), circle_overlap(), circle_overleft(), circle_overright(), circle_right(), circle_same(), citext_eq(), citext_ge(), citext_gt(), citext_le(), citext_lt(), citext_ne(), citext_pattern_ge(), citext_pattern_gt(), citext_pattern_le(), citext_pattern_lt(), complex_abs_eq(), complex_abs_ge(), complex_abs_gt(), complex_abs_le(), complex_abs_lt(), cube_contained(), cube_contains(), cube_eq(), cube_ge(), cube_gt(), cube_is_point(), cube_le(), cube_lt(), cube_ne(), cube_overlap(), date_eq(), date_eq_timestamp(), date_eq_timestamptz(), date_finite(), date_ge(), date_ge_timestamp(), date_ge_timestamptz(), date_gt(), date_gt_timestamp(), date_gt_timestamptz(), date_le(), date_le_timestamp(), date_le_timestamptz(), date_lt(), date_lt_timestamp(), date_lt_timestamptz(), date_ne(), date_ne_timestamp(), date_ne_timestamptz(), elem_contained_by_range(), enum_eq(), enum_ge(), enum_gt(), enum_le(), enum_lt(), enum_ne(), float48eq(), float48ge(), float48gt(), float48le(), float48lt(), float48ne(), float4eq(), float4ge(), float4gt(), float4le(), float4lt(), float4ne(), float84eq(), float84ge(), float84gt(), float84le(), float84lt(), float84ne(), float8eq(), float8ge(), float8gt(), float8le(), float8lt(), float8ne(), g_cube_consistent(), g_int_consistent(), g_intbig_consistent(), gbt_bit_consistent(), gbt_bpchar_consistent(), gbt_bytea_consistent(), gbt_cash_consistent(), gbt_date_consistent(), gbt_enum_consistent(), gbt_float4_consistent(), gbt_float8_consistent(), gbt_inet_consistent(), gbt_int2_consistent(), gbt_int4_consistent(), gbt_int8_consistent(), gbt_intv_consistent(), gbt_macad8_consistent(), gbt_macad_consistent(), gbt_numeric_consistent(), gbt_oid_consistent(), gbt_text_consistent(), gbt_time_consistent(), gbt_timetz_consistent(), gbt_ts_consistent(), gbt_tstz_consistent(), gbt_uuid_consistent(), ghstore_consistent(), gin_btree_consistent(), gin_consistent_hstore(), gin_consistent_jsonb(), gin_consistent_jsonb_path(), gin_trgm_consistent(), gin_tsquery_consistent(), ginarrayconsistent(), ginint4_consistent(), gist_box_consistent(), gist_circle_consistent(), gist_point_consistent(), gist_poly_consistent(), gseg_internal_consistent(), gtrgm_consistent(), gtsquery_consistent(), gtsvector_consistent(), has_any_column_privilege_id(), has_any_column_privilege_id_id(), has_any_column_privilege_id_name(), has_any_column_privilege_name(), has_any_column_privilege_name_id(), has_any_column_privilege_name_name(), has_column_privilege_id_attnum(), has_column_privilege_id_id_attnum(), has_column_privilege_id_id_name(), has_column_privilege_id_name(), has_column_privilege_id_name_attnum(), has_column_privilege_id_name_name(), has_column_privilege_name_attnum(), has_column_privilege_name_id_attnum(), has_column_privilege_name_id_name(), has_column_privilege_name_name(), has_column_privilege_name_name_attnum(), has_column_privilege_name_name_name(), has_database_privilege_id(), has_database_privilege_id_id(), has_database_privilege_id_name(), has_database_privilege_name(), has_database_privilege_name_id(), has_database_privilege_name_name(), has_foreign_data_wrapper_privilege_id(), has_foreign_data_wrapper_privilege_id_id(), has_foreign_data_wrapper_privilege_id_name(), has_foreign_data_wrapper_privilege_name(), has_foreign_data_wrapper_privilege_name_id(), has_foreign_data_wrapper_privilege_name_name(), has_function_privilege_id(), has_function_privilege_id_id(), has_function_privilege_id_name(), has_function_privilege_name(), has_function_privilege_name_id(), has_function_privilege_name_name(), has_language_privilege_id(), has_language_privilege_id_id(), has_language_privilege_id_name(), has_language_privilege_name(), has_language_privilege_name_id(), has_language_privilege_name_name(), has_schema_privilege_id(), has_schema_privilege_id_id(), has_schema_privilege_id_name(), has_schema_privilege_name(), has_schema_privilege_name_id(), has_schema_privilege_name_name(), has_sequence_privilege_id(), has_sequence_privilege_id_id(), has_sequence_privilege_id_name(), has_sequence_privilege_name(), has_sequence_privilege_name_id(), has_sequence_privilege_name_name(), has_server_privilege_id(), has_server_privilege_id_id(), has_server_privilege_id_name(), has_server_privilege_name(), has_server_privilege_name_id(), has_server_privilege_name_name(), has_table_privilege_id(), has_table_privilege_id_id(), has_table_privilege_id_name(), has_table_privilege_name(), has_table_privilege_name_id(), has_table_privilege_name_name(), has_tablespace_privilege_id(), has_tablespace_privilege_id_id(), has_tablespace_privilege_id_name(), has_tablespace_privilege_name(), has_tablespace_privilege_name_id(), has_tablespace_privilege_name_name(), has_type_privilege_id(), has_type_privilege_id_id(), has_type_privilege_id_name(), has_type_privilege_name(), has_type_privilege_name_id(), has_type_privilege_name_name(), hstore_contains(), hstore_defined(), hstore_eq(), hstore_exists(), hstore_exists_all(), hstore_exists_any(), hstore_ge(), hstore_gt(), hstore_le(), hstore_lt(), hstore_ne(), in_range_float8_float8(), in_range_int2_int4(), in_range_int4_int4(), in_range_int4_int8(), in_range_int8_int8(), in_range_interval_interval(), in_range_numeric_numeric(), in_range_time_interval(), in_range_timestamp_interval(), in_range_timestamptz_interval(), in_range_timetz_interval(), indexam_property(), inet_gist_consistent(), inet_same_family(), inet_spg_leaf_consistent(), int24eq(), int24ge(), int24gt(), int24le(), int24lt(), int24ne(), int28eq(), int28ge(), int28gt(), int28le(), int28lt(), int28ne(), int2eq(), int2ge(), int2gt(), int2le(), int2lt(), int2ne(), int42eq(), int42ge(), int42gt(), int42le(), int42lt(), int42ne(), int48eq(), int48ge(), int48gt(), int48le(), int48lt(), int48ne(), int4_bool(), int4eq(), int4ge(), int4gt(), int4le(), int4lt(), int4ne(), int82eq(), int82ge(), int82gt(), int82le(), int82lt(), int82ne(), int84eq(), int84ge(), int84gt(), int84le(), int84lt(), int84ne(), int8eq(), int8ge(), int8gt(), int8le(), int8lt(), int8ne(), inter_lb(), inter_sb(), inter_sl(), interval_eq(), interval_finite(), interval_ge(), interval_gt(), interval_le(), interval_lt(), interval_ne(), intinterval(), is_valid(), jsonb_bool(), jsonb_contained(), jsonb_contains(), jsonb_eq(), jsonb_exists(), jsonb_exists_all(), jsonb_exists_any(), jsonb_ge(), jsonb_gt(), jsonb_le(), jsonb_lt(), jsonb_ne(), line_eq(), line_horizontal(), line_intersect(), line_parallel(), line_perp(), line_vertical(), lseg_eq(), lseg_ge(), lseg_gt(), lseg_horizontal(), lseg_intersect(), lseg_le(), lseg_lt(), lseg_ne(), lseg_parallel(), lseg_perp(), lseg_vertical(), lt_q_regex(), ltq_regex(), ltree_consistent(), ltree_eq(), ltree_ge(), ltree_gt(), ltree_isparent(), ltree_le(), ltree_lt(), ltree_ne(), ltree_risparent(), ltxtq_exec(), macaddr8_eq(), macaddr8_ge(), macaddr8_gt(), macaddr8_le(), macaddr8_lt(), macaddr8_ne(), macaddr_eq(), macaddr_ge(), macaddr_gt(), macaddr_le(), macaddr_lt(), macaddr_ne(), nameeq(), namege(), namegt(), nameiclike(), nameicnlike(), nameicregexeq(), nameicregexne(), namele(), namelike(), namelt(), namene(), namenlike(), nameregexeq(), nameregexne(), network_eq(), network_ge(), network_gt(), network_le(), network_lt(), network_ne(), network_overlap(), network_sub(), network_subeq(), network_sup(), network_supeq(), numeric_eq(), numeric_ge(), numeric_gt(), numeric_le(), numeric_lt(), numeric_ne(), oideq(), oidge(), oidgt(), oidle(), oidlt(), oidne(), oidvectoreq(), oidvectorge(), oidvectorgt(), oidvectorle(), oidvectorlt(), oidvectorne(), on_pb(), on_pl(), on_ppath(), on_ps(), on_sb(), on_sl(), overlaps_time(), overlaps_timestamp(), overlaps_timetz(), overpaid(), path_inter(), path_isclosed(), path_isopen(), path_n_eq(), path_n_ge(), path_n_gt(), path_n_le(), path_n_lt(), pg_advisory_unlock_int4(), pg_advisory_unlock_int8(), pg_advisory_unlock_shared_int4(), pg_advisory_unlock_shared_int8(), pg_cancel_backend(), pg_collation_is_visible(), pg_column_is_updatable(), pg_conversion_is_visible(), pg_file_rename(), pg_file_rename_v1_1(), pg_file_unlink(), pg_file_unlink_v1_1(), pg_function_is_visible(), pg_has_role_id(), pg_has_role_id_id(), pg_has_role_id_name(), pg_has_role_name(), pg_has_role_name_id(), pg_has_role_name_name(), pg_is_in_backup(), pg_is_in_recovery(), pg_is_other_temp_schema(), pg_is_wal_replay_paused(), pg_isolation_test_session_is_blocked(), pg_jit_available(), pg_lsn_eq(), pg_lsn_ge(), pg_lsn_gt(), pg_lsn_le(), pg_lsn_lt(), pg_lsn_ne(), pg_opclass_is_visible(), pg_operator_is_visible(), pg_opfamily_is_visible(), pg_relation_is_publishable(), pg_reload_conf(), pg_replication_origin_session_is_setup(), pg_rotate_logfile(), pg_rotate_logfile_v2(), pg_statistics_obj_is_visible(), pg_table_is_visible(), pg_terminate_backend(), pg_try_advisory_lock_int4(), pg_try_advisory_lock_int8(), pg_try_advisory_lock_shared_int4(), pg_try_advisory_lock_shared_int8(), pg_try_advisory_xact_lock_int4(), pg_try_advisory_xact_lock_int8(), pg_try_advisory_xact_lock_shared_int4(), pg_try_advisory_xact_lock_shared_int8(), pg_ts_config_is_visible(), pg_ts_dict_is_visible(), pg_ts_parser_is_visible(), pg_ts_template_is_visible(), pg_type_is_visible(), point_above(), point_below(), point_eq(), point_horiz(), point_left(), point_ne(), point_right(), point_vert(), poly_above(), poly_below(), poly_contain(), poly_contain_pt(), poly_left(), poly_overabove(), poly_overbelow(), poly_overlap(), poly_overleft(), poly_overright(), poly_right(), poly_same(), postgresql_fdw_validator(), pt_contained_circle(), pt_contained_poly(), pt_in_widget(), range_adjacent(), range_after(), range_before(), range_contained_by(), range_contains(), range_contains_elem(), range_empty(), range_eq(), range_ge(), range_gist_consistent(), range_gt(), range_le(), range_lower_inc(), range_lower_inf(), range_lt(), range_ne(), range_overlaps(), range_overleft(), range_overright(), range_typanalyze(), range_upper_inc(), range_upper_inf(), record_eq(), record_ge(), record_gt(), record_image_eq(), record_image_ge(), record_image_gt(), record_image_le(), record_image_lt(), record_image_ne(), record_le(), record_lt(), record_ne(), reltimeeq(), reltimege(), reltimegt(), reltimele(), reltimelt(), reltimene(), row_security_active(), row_security_active_name(), satisfies_hash_partition(), seg_contains(), seg_different(), seg_ge(), seg_gt(), seg_le(), seg_left(), seg_lt(), seg_over_left(), seg_over_right(), seg_overlap(), seg_right(), seg_same(), sepgsql_restorecon(), sepgsql_setcon(), similarity_op(), smgreq(), smgrne(), spg_box_quad_leaf_consistent(), spg_quad_leaf_consistent(), spg_range_quad_leaf_consistent(), spg_text_leaf_consistent(), ssl_client_cert_present(), ssl_is_used(), strict_word_similarity_commutator_op(), strict_word_similarity_op(), test_atomic_ops(), text_ge(), text_gt(), text_le(), text_lt(), text_pattern_ge(), text_pattern_gt(), text_pattern_le(), text_pattern_lt(), text_starts_with(), texteq(), texticlike(), texticnlike(), texticregexeq(), texticregexne(), textlike(), textne(), textnlike(), textregexeq(), textregexne(), tideq(), tidge(), tidgt(), tidle(), tidlt(), tidne(), time_eq(), time_ge(), time_gt(), time_le(), time_lt(), time_ne(), timestamp_eq(), timestamp_eq_date(), timestamp_eq_timestamptz(), timestamp_finite(), timestamp_ge(), timestamp_ge_date(), timestamp_ge_timestamptz(), timestamp_gt(), timestamp_gt_date(), timestamp_gt_timestamptz(), timestamp_le(), timestamp_le_date(), timestamp_le_timestamptz(), timestamp_lt(), timestamp_lt_date(), timestamp_lt_timestamptz(), timestamp_ne(), timestamp_ne_date(), timestamp_ne_timestamptz(), timestamptz_eq_date(), timestamptz_eq_timestamp(), timestamptz_ge_date(), timestamptz_ge_timestamp(), timestamptz_gt_date(), timestamptz_gt_timestamp(), timestamptz_le_date(), timestamptz_le_timestamp(), timestamptz_lt_date(), timestamptz_lt_timestamp(), timestamptz_ne_date(), timestamptz_ne_timestamp(), timetz_eq(), timetz_ge(), timetz_gt(), timetz_le(), timetz_lt(), timetz_ne(), tintervalct(), tintervaleq(), tintervalge(), tintervalgt(), tintervalle(), tintervalleneq(), tintervallenge(), tintervallengt(), tintervallenle(), tintervallenlt(), tintervallenne(), tintervallt(), tintervalne(), tintervalov(), tintervalsame(), ts_match_tq(), ts_match_tt(), ts_match_vq(), ts_typanalyze(), tsq_mcontains(), txid_visible_in_snapshot(), uuid_eq(), uuid_ge(), uuid_gt(), uuid_le(), uuid_lt(), uuid_ne(), weak_input_status(), word_similarity_commutator_op(), word_similarity_op(), xideq(), xidneq(), xml_is_well_formed(), xml_is_well_formed_content(), xml_is_well_formed_document(), xmlexists(), xpath_bool(), and xpath_exists().

◆ PG_RETURN_BPCHAR_P

#define PG_RETURN_BPCHAR_P (   x)    PG_RETURN_POINTER(x)

◆ PG_RETURN_BYTEA_P

◆ PG_RETURN_CHAR

#define PG_RETURN_CHAR (   x)    return CharGetDatum(x)

Definition at line 323 of file fmgr.h.

Referenced by charin(), charrecv(), i4tochar(), and text_char().

◆ PG_RETURN_CSTRING

◆ PG_RETURN_DATUM

#define PG_RETURN_DATUM (   x)    return (x)

Definition at line 318 of file fmgr.h.

Referenced by _int_contained_joinsel(), _int_contained_sel(), _int_contains_joinsel(), _int_contains_sel(), _int_overlap_joinsel(), _int_overlap_sel(), _intbig_in(), _intbig_out(), _lt_q_rregex(), _ltq_rregex(), _ltree_r_isparent(), _ltree_r_risparent(), _ltxtq_rexec(), array_agg_array_finalfn(), array_agg_finalfn(), array_append(), array_larger(), array_positions(), array_prepend(), array_smaller(), bitshiftleft(), bitshiftright(), brin_inclusion_consistent(), brin_metapage_info(), brin_minmax_consistent(), bt_metap(), bt_page_stats(), citext_hash(), close_pb(), close_sb(), current_schema(), current_user(), dblink_current_query(), dist_sb(), domain_in(), domain_recv(), g_cube_compress(), g_intbig_decompress(), ghstore_in(), ghstore_out(), gseg_leaf_consistent(), gseg_union(), gtrgm_in(), gtrgm_out(), gtsvectorin(), hash_bitmap_info(), hash_metapage_info(), hash_numeric(), hash_numeric_extended(), hash_page_stats(), hstore_contained(), hstore_hash(), hstore_populate_record(), inet_client_port(), inet_server_port(), int2int4_sum(), int8_avg(), int8_sum(), interpt_pp(), json_object(), json_object_two_arg(), jsonb_float4(), jsonb_float8(), jsonb_int2(), jsonb_int4(), jsonb_int8(), leadlag_common(), lt_q_rregex(), ltq_rregex(), ltree_gist_in(), ltree_gist_out(), ltxtq_rexec(), mode_final(), numeric_avg(), numeric_float4(), numeric_float8(), numeric_poly_avg(), page_header(), parse_ident(), percentile_cont_final_common(), percentile_disc_final(), pg_backup_start_time(), pg_control_checkpoint(), pg_control_init(), pg_control_recovery(), pg_control_system(), pg_convert_from(), pg_convert_to(), pg_create_logical_replication_slot(), pg_create_physical_replication_slot(), pg_get_object_address(), pg_identify_object(), pg_identify_object_as_address(), pg_last_committed_xact(), pg_replication_slot_advance(), pg_stat_file(), pg_stat_get_archiver(), pg_stat_get_backend_client_port(), pg_stat_get_wal_receiver(), pg_visibility(), pg_visibility_map(), pg_visibility_map_summary(), pg_walfile_name_offset(), pgstatginindex(), pgstatginindex_v1_5(), pgstathashindex(), pgstatindex(), pgstatindex_v1_5(), pgstatindexbyid(), pgstatindexbyid_v1_5(), pgstattuple(), pgstattuple_approx(), pgstattuple_approx_v1_5(), pgstattuple_v1_5(), pgstattuplebyid(), pgstattuplebyid_v1_5(), phraseto_tsquery(), plainto_tsquery(), poly_center(), poly_contained(), populate_record_worker(), quote_nullable(), range_lower(), range_upper(), regexp_match(), seg_contained(), session_user(), test_predtest(), to_tsquery(), to_tsvector(), ts_headline(), ts_headline_byid(), ts_headline_json(), ts_headline_json_byid(), ts_headline_json_opt(), ts_headline_jsonb(), ts_headline_jsonb_byid(), ts_headline_jsonb_opt(), ts_headline_opt(), ts_match_qv(), tsq_mcontained(), websearch_to_tsquery(), window_first_value(), window_last_value(), and window_nth_value().

◆ PG_RETURN_FLOAT4

◆ PG_RETURN_FLOAT8

#define PG_RETURN_FLOAT8 (   x)    return Float8GetDatum(x)

Definition at line 331 of file fmgr.h.

Referenced by _int_matchsel(), add_one_float8(), areajoinsel(), areasel(), arraycontjoinsel(), arraycontsel(), box_area(), box_distance(), box_height(), box_width(), cash_div_cash(), circle_area(), circle_diameter(), circle_distance(), circle_radius(), contjoinsel(), contsel(), cube_coord(), cube_coord_llur(), cube_distance(), cube_ll_coord(), cube_size(), cube_ur_coord(), dacos(), dacosd(), dasin(), dasind(), datan(), datan2(), datan2d(), datand(), daterange_subdiff(), dcbrt(), dceil(), dcos(), dcosd(), dcot(), dcotd(), degrees(), dexp(), dfloor(), dist_cpoint(), dist_cpoly(), dist_pb(), dist_pc(), dist_pl(), dist_polyp(), dist_ppath(), dist_ppoly(), dist_ps(), dist_sl(), distance_chebyshev(), distance_taxicab(), dlog1(), dlog10(), dpi(), dpow(), drandom(), dround(), dsign(), dsin(), dsind(), dsqrt(), dtan(), dtand(), dtrunc(), eqjoinsel(), eqsel(), float48div(), float48mi(), float48mul(), float48pl(), float84div(), float84mi(), float84mul(), float84pl(), float8_avg(), float8_corr(), float8_covar_pop(), float8_covar_samp(), float8_dist(), float8_regr_avgx(), float8_regr_avgy(), float8_regr_intercept(), float8_regr_r2(), float8_regr_slope(), float8_regr_sxx(), float8_regr_sxy(), float8_regr_syy(), float8_stddev_pop(), float8_stddev_samp(), float8_var_pop(), float8_var_samp(), float8abs(), float8div(), float8in(), float8larger(), float8mi(), float8mul(), float8pl(), float8recv(), float8smaller(), float8um(), float8up(), ftod(), g_cube_distance(), g_cube_penalty(), gbt_cash_distance(), gbt_date_distance(), gbt_float4_distance(), gbt_float8_distance(), gbt_int2_distance(), gbt_int4_distance(), gbt_int8_distance(), gbt_intv_distance(), gbt_oid_distance(), gbt_time_distance(), gbt_ts_distance(), gbt_tstz_distance(), geo_distance(), gist_circle_distance(), gist_point_distance(), gist_poly_distance(), gtrgm_distance(), hypothetical_cume_dist_final(), hypothetical_percent_rank_final(), i2tod(), i4tod(), i8tod(), iclikejoinsel(), iclikesel(), icnlikejoinsel(), icnlikesel(), icregexeqjoinsel(), icregexeqsel(), icregexnejoinsel(), icregexnesel(), int4range_subdiff(), int8range_subdiff(), interval_part(), likejoinsel(), likesel(), line_distance(), lseg_distance(), lseg_length(), ltreeparentsel(), neqjoinsel(), neqsel(), networkjoinsel(), networksel(), nlikejoinsel(), nlikesel(), numeric_float8(), numeric_float8_no_overflow(), numrange_subdiff(), path_area(), path_distance(), path_length(), pg_notification_queue_usage(), pg_stat_get_checkpoint_sync_time(), pg_stat_get_checkpoint_write_time(), pg_stat_get_db_blk_read_time(), pg_stat_get_db_blk_write_time(), pg_stat_get_function_self_time(), pg_stat_get_function_total_time(), pg_stat_get_xact_function_self_time(), pg_stat_get_xact_function_total_time(), point_distance(), point_slope(), positionjoinsel(), positionsel(), prefixjoinsel(), prefixsel(), radians(), rangesel(), regexeqjoinsel(), regexeqsel(), regexnejoinsel(), regexnesel(), scalargejoinsel(), scalargtjoinsel(), scalarineqsel_wrapper(), scalarlejoinsel(), scalarltjoinsel(), time_part(), timestamp_part(), timestamptz_part(), timetz_part(), tsmatchjoinsel(), tsmatchsel(), tsrange_subdiff(), tstzrange_subdiff(), window_cume_dist(), and window_percent_rank().

◆ PG_RETURN_HEAPTUPLEHEADER

#define PG_RETURN_HEAPTUPLEHEADER (   x)    return HeapTupleHeaderGetDatum(x)

Definition at line 339 of file fmgr.h.

Referenced by record_in(), and record_recv().

◆ PG_RETURN_INT16

◆ PG_RETURN_INT32

#define PG_RETURN_INT32 (   x)    return Int32GetDatum(x)

Definition at line 319 of file fmgr.h.

Referenced by add_one(), array_cardinality(), array_length(), array_lower(), array_ndims(), array_position_common(), array_upper(), ascii(), be_lo_close(), be_lo_export(), be_lo_lseek(), be_lo_open(), be_lo_tell(), be_lo_truncate(), be_lo_truncate64(), be_lo_unlink(), be_lowrite(), bitcmp(), bitgetbit(), bitlength(), bitoctetlength(), bitposition(), bittoint4(), bittypmodin(), bool_int4(), bpcharcmp(), bpcharlen(), bpcharoctetlen(), bpchartypmodin(), brin_summarize_range(), btabstimecmp(), btarraycmp(), btboolcmp(), btbpchar_pattern_cmp(), btcharcmp(), btfloat48cmp(), btfloat4cmp(), btfloat84cmp(), btfloat8cmp(), btint24cmp(), btint28cmp(), btint2cmp(), btint42cmp(), btint48cmp(), btint4cmp(), btint82cmp(), btint84cmp(), btint8cmp(), btnamecmp(), btoidcmp(), btoidvectorcmp(), btrecordcmp(), btrecordimagecmp(), btreltimecmp(), bttext_pattern_cmp(), bttextcmp(), bttidcmp(), bttintervalcmp(), byteacmp(), byteaGetBit(), byteaGetByte(), byteaoctetlen(), byteapos(), cash_cmp(), chartoi4(), citext_cmp(), citext_pattern_cmp(), complex_abs_cmp(), cube_cmp(), cube_dim(), date_cmp(), date_cmp_timestamp(), date_cmp_timestamptz(), date_dist(), date_mi(), dblink_is_busy(), dblink_send_query(), difference(), dtoi4(), enum_cmp(), ftoi4(), get_timetravel(), gin_btree_compare_prefix(), gin_cmp_prefix(), gin_cmp_tslexeme(), gin_compare_jsonb(), gin_enum_cmp(), gin_numeric_cmp(), hash_range(), hstore_cmp(), hstore_version_diag(), i2toi4(), icount(), idx(), int24div(), int24mi(), int24mul(), int24pl(), int42div(), int42mi(), int42mul(), int42pl(), int4_dist(), int4abs(), int4and(), int4div(), int4in(), int4inc(), int4larger(), int4mi(), int4mod(), int4mul(), int4not(), int4or(), int4pl(), int4recv(), int4shl(), int4shr(), int4smaller(), int4um(), int4up(), int4xor(), int84(), interval_cmp(), intervaltypmodin(), json_array_length(), jsonb_array_length(), jsonb_cmp(), jsonb_hash(), length_in_encoding(), levenshtein(), levenshtein_less_equal(), levenshtein_less_equal_with_costs(), levenshtein_with_costs(), ltree_cmp(), ltree_index(), macaddr8_cmp(), macaddr_cmp(), mxid_age(), network_cmp(), network_family(), network_masklen(), nlevel(), numeric_cmp(), numeric_int4(), numeric_scale(), numerictypmodin(), path_npoints(), pg_backend_pid(), PG_char_to_encoding(), pg_column_size(), pg_encoding_max_length_sql(), pg_event_trigger_table_rewrite_reason(), pg_import_system_collations(), pg_lsn_cmp(), pg_num_nonnulls(), pg_num_nulls(), pg_relation_is_updatable(), pg_stat_get_backend_client_port(), pg_stat_get_backend_pid(), pg_stat_get_db_numbackends(), pg_trigger_depth(), poly_npoints(), prsd_nexttoken(), range_cmp(), seg_cmp(), set_timetravel(), set_ttdummy(), testprs_getlexeme(), text_length(), textlen(), textoctetlen(), textpos(), time_cmp(), timestamp_cmp(), timestamp_cmp_date(), timestamp_cmp_timestamptz(), timestamptypmodin(), timestamptz_cmp_date(), timestamptz_cmp_timestamp(), timestamptztypmodin(), timetypmodin(), timetz_cmp(), timetztypmodin(), tsquery_cmp(), tsquery_numnode(), tsvector_length(), uuid_cmp(), varbittypmodin(), varchartypmodin(), width_bucket_array(), width_bucket_float8(), width_bucket_numeric(), window_ntile(), worker_spi_launch(), and xid_age().

◆ PG_RETURN_INT64

#define PG_RETURN_INT64 (   x)    return Int64GetDatum(x)

Definition at line 332 of file fmgr.h.

Referenced by autoprewarm_dump_now(), be_lo_lseek64(), be_lo_tell64(), bittoint8(), currval_oid(), dtoi8(), ftoi8(), gin_clean_pending_list(), hypothetical_dense_rank_final(), hypothetical_rank_final(), inetmi(), int28(), int28div(), int28mi(), int28mul(), int28pl(), int2_sum(), int48(), int48div(), int48mi(), int48mul(), int48pl(), int4_sum(), int82div(), int82mi(), int82mul(), int82pl(), int84div(), int84mi(), int84mul(), int84pl(), int8_dist(), int8abs(), int8and(), int8dec(), int8div(), int8in(), int8inc(), int8larger(), int8mi(), int8mod(), int8mul(), int8not(), int8or(), int8pl(), int8recv(), int8shl(), int8shr(), int8smaller(), int8um(), int8up(), int8xor(), lastval(), nextval(), nextval_oid(), numeric_int8(), oidtoi8(), pg_database_size_name(), pg_database_size_oid(), pg_file_write(), pg_file_write_v1_1(), pg_indexes_size(), pg_prewarm(), pg_relation_size(), pg_relpages(), pg_relpages_v1_5(), pg_relpagesbyid(), pg_relpagesbyid_v1_5(), pg_sequence_last_value(), pg_size_bytes(), pg_stat_get_analyze_count(), pg_stat_get_autoanalyze_count(), pg_stat_get_autovacuum_count(), pg_stat_get_bgwriter_buf_written_checkpoints(), pg_stat_get_bgwriter_buf_written_clean(), pg_stat_get_bgwriter_maxwritten_clean(), pg_stat_get_bgwriter_requested_checkpoints(), pg_stat_get_bgwriter_timed_checkpoints(), pg_stat_get_blocks_fetched(), pg_stat_get_blocks_hit(), pg_stat_get_buf_alloc(), pg_stat_get_buf_fsync_backend(), pg_stat_get_buf_written_backend(), pg_stat_get_db_blocks_fetched(), pg_stat_get_db_blocks_hit(), pg_stat_get_db_conflict_all(), pg_stat_get_db_conflict_bufferpin(), pg_stat_get_db_conflict_lock(), pg_stat_get_db_conflict_snapshot(), pg_stat_get_db_conflict_startup_deadlock(), pg_stat_get_db_conflict_tablespace(), pg_stat_get_db_deadlocks(), pg_stat_get_db_temp_bytes(), pg_stat_get_db_temp_files(), pg_stat_get_db_tuples_deleted(), pg_stat_get_db_tuples_fetched(), pg_stat_get_db_tuples_inserted(), pg_stat_get_db_tuples_returned(), pg_stat_get_db_tuples_updated(), pg_stat_get_db_xact_commit(), pg_stat_get_db_xact_rollback(), pg_stat_get_dead_tuples(), pg_stat_get_function_calls(), pg_stat_get_live_tuples(), pg_stat_get_mod_since_analyze(), pg_stat_get_numscans(), pg_stat_get_tuples_deleted(), pg_stat_get_tuples_fetched(), pg_stat_get_tuples_hot_updated(), pg_stat_get_tuples_inserted(), pg_stat_get_tuples_returned(), pg_stat_get_tuples_updated(), pg_stat_get_vacuum_count(), pg_stat_get_xact_blocks_fetched(), pg_stat_get_xact_blocks_hit(), pg_stat_get_xact_function_calls(), pg_stat_get_xact_numscans(), pg_stat_get_xact_tuples_deleted(), pg_stat_get_xact_tuples_fetched(), pg_stat_get_xact_tuples_hot_updated(), pg_stat_get_xact_tuples_inserted(), pg_stat_get_xact_tuples_returned(), pg_stat_get_xact_tuples_updated(), pg_table_size(), pg_tablespace_size_name(), pg_tablespace_size_oid(), pg_total_relation_size(), setval3_oid(), setval_oid(), txid_current(), txid_current_if_assigned(), txid_snapshot_xmax(), txid_snapshot_xmin(), window_dense_rank(), window_rank(), and window_row_number().

◆ PG_RETURN_NAME

#define PG_RETURN_NAME (   x)    return NameGetDatum(x)

Definition at line 328 of file fmgr.h.

Referenced by bpchar_name(), current_database(), namein(), namerecv(), pg_get_userbyid(), and text_name().

◆ PG_RETURN_NULL

#define PG_RETURN_NULL ( )    do { fcinfo->isnull = true; return (Datum) 0; } while (0)

Definition at line 310 of file fmgr.h.

Referenced by _lca(), _ltq_extract_regex(), _ltree_extract_isparent(), _ltree_extract_risparent(), _ltxtq_extract_exec(), aclinsert(), aclremove(), array_agg_array_finalfn(), array_agg_finalfn(), array_cat(), array_dims(), array_length(), array_lower(), array_ndims(), array_position_common(), array_positions(), array_remove(), array_replace(), array_to_text_null(), array_upper(), AttributeTemplate(), bool_alltrue(), bool_anytrue(), box_intersect(), bytea_string_agg_finalfn(), close_lb(), close_ps(), close_sl(), crosstab(), current_query(), current_schema(), dblink_get_connections(), dist_lb(), dist_ppath(), dmetaphone(), dmetaphone_alt(), domain_in(), domain_recv(), each_worker(), each_worker_jsonb(), elements_worker(), elements_worker_jsonb(), float8_avg(), float8_corr(), float8_covar_pop(), float8_covar_samp(), float8_regr_avgx(), float8_regr_avgy(), float8_regr_intercept(), float8_regr_r2(), float8_regr_slope(), float8_regr_sxx(), float8_regr_sxy(), float8_regr_syy(), float8_stddev_pop(), float8_stddev_samp(), float8_var_pop(), float8_var_samp(), format_type(), get_command_tag(), get_jsonb_path_all(), get_path_all(), gin_extract_trgm(), has_any_column_privilege_id(), has_any_column_privilege_id_id(), has_any_column_privilege_name_id(), has_column_privilege_id_attnum(), has_column_privilege_id_id_attnum(), has_column_privilege_id_id_name(), has_column_privilege_id_name(), has_column_privilege_id_name_attnum(), has_column_privilege_id_name_name(), has_column_privilege_name_attnum(), has_column_privilege_name_id_attnum(), has_column_privilege_name_id_name(), has_column_privilege_name_name(), has_column_privilege_name_name_attnum(), has_column_privilege_name_name_name(), has_database_privilege_id(), has_database_privilege_id_id(), has_database_privilege_name_id(), has_function_privilege_id(), has_function_privilege_id_id(), has_function_privilege_name_id(), has_language_privilege_id(), has_language_privilege_id_id(), has_language_privilege_name_id(), has_schema_privilege_id(), has_schema_privilege_id_id(), has_schema_privilege_name_id(), has_sequence_privilege_id(), has_sequence_privilege_id_id(), has_sequence_privilege_name_id(), has_table_privilege_id(), has_table_privilege_id_id(), has_table_privilege_name_id(), has_type_privilege_id(), has_type_privilege_id_id(), has_type_privilege_name_id(), hstore_fetchval(), hstore_from_arrays(), hstore_from_text(), hstore_populate_record(), hstore_svals(), indexam_property(), inet_client_addr(), inet_client_port(), inet_server_addr(), inet_server_port(), int24div(), int28div(), int2_sum(), int2div(), int2int4_sum(), int2mod(), int42div(), int48div(), int4_sum(), int4div(), int4mod(), int82div(), int84div(), int8_avg(), int8_sum(), int8div(), int8mod(), interpt_pp(), interval_avg(), interval_to_char(), json_agg_finalfn(), json_array_element(), json_array_element_text(), json_build_array(), json_build_object(), json_object_agg_finalfn(), json_object_field(), json_object_field_text(), jsonb_agg_finalfn(), jsonb_array_element(), jsonb_array_element_text(), jsonb_build_array(), jsonb_build_object(), jsonb_object_agg_finalfn(), jsonb_object_field(), jsonb_object_field_text(), lca(), leadlag_common(), line_interpt(), lseg_interpt(), mode_final(), numeric_accum_inv(), numeric_avg(), numeric_poly_avg(), numeric_poly_stddev_pop(), numeric_poly_stddev_samp(), numeric_poly_sum(), numeric_poly_var_pop(), numeric_poly_var_samp(), numeric_scale(), numeric_stddev_pop(), numeric_stddev_samp(), numeric_sum(), numeric_to_number(), numeric_var_pop(), numeric_var_samp(), overlaps_time(), overlaps_timestamp(), overlaps_timetz(), overpaid(), path_add(), path_area(), path_center(), path_distance(), percentile_cont_final_common(), percentile_cont_multi_final_common(), percentile_disc_final(), percentile_disc_multi_final(), pg_backup_start_time(), pg_collation_actual_version(), pg_collation_for(), pg_collation_is_visible(), pg_conversion_is_visible(), pg_current_logfile(), pg_database_size_name(), pg_database_size_oid(), pg_describe_object(), pg_encoding_max_length_sql(), pg_file_rename(), pg_file_rename_v1_1(), pg_filenode_relation(), pg_function_is_visible(), pg_get_constraintdef(), pg_get_constraintdef_ext(), pg_get_expr(), pg_get_expr_ext(), pg_get_function_arg_default(), pg_get_function_arguments(), pg_get_function_identity_arguments(), pg_get_function_result(), pg_get_functiondef(), pg_get_indexdef(), pg_get_indexdef_ext(), pg_get_partition_constraintdef(), pg_get_partkeydef(), pg_get_replica_identity_index(), pg_get_ruledef(), pg_get_ruledef_ext(), pg_get_serial_sequence(), pg_get_statisticsobjdef(), pg_get_triggerdef(), pg_get_triggerdef_ext(), pg_get_viewdef(), pg_get_viewdef_ext(), pg_get_viewdef_name(), pg_get_viewdef_name_ext(), pg_get_viewdef_wrap(), pg_hba_file_rules(), pg_index_column_has_property(), pg_indexes_size(), pg_last_wal_receive_lsn(), pg_last_wal_replay_lsn(), pg_last_xact_replay_timestamp(), pg_num_nonnulls(), pg_num_nulls(), pg_opclass_is_visible(), pg_operator_is_visible(), pg_opfamily_is_visible(), pg_read_binary_file(), pg_read_file(), pg_read_file_v2(), pg_relation_filenode(), pg_relation_filepath(), pg_relation_is_publishable(), pg_relation_size(), pg_replication_origin_oid(), pg_replication_origin_progress(), pg_replication_origin_session_progress(), pg_sequence_last_value(), pg_stat_file(), pg_stat_get_backend_activity_start(), pg_stat_get_backend_client_addr(), pg_stat_get_backend_client_port(), pg_stat_get_backend_dbid(), pg_stat_get_backend_pid(), pg_stat_get_backend_start(), pg_stat_get_backend_userid(), pg_stat_get_backend_wait_event(), pg_stat_get_backend_wait_event_type(), pg_stat_get_backend_xact_start(), pg_stat_get_db_stat_reset_time(), pg_stat_get_function_calls(), pg_stat_get_function_self_time(), pg_stat_get_function_total_time(), pg_stat_get_last_analyze_time(), pg_stat_get_last_autoanalyze_time(), pg_stat_get_last_autovacuum_time(), pg_stat_get_last_vacuum_time(), pg_stat_get_wal_receiver(), pg_stat_get_xact_function_calls(), pg_stat_get_xact_function_self_time(), pg_stat_get_xact_function_total_time(), pg_statistics_obj_is_visible(), pg_table_is_visible(), pg_table_size(), pg_tablespace_location(), pg_tablespace_size_name(), pg_tablespace_size_oid(), pg_total_relation_size(), pg_ts_config_is_visible(), pg_ts_dict_is_visible(), pg_ts_parser_is_visible(), pg_ts_template_is_visible(), pg_type_is_visible(), pg_xact_commit_timestamp(), poly_box(), poly_distance(), populate_record_worker(), populate_recordset_worker(), querytree(), range_lower(), range_minus(), range_upper(), regexp_match(), satisfies_hash_partition(), sepgsql_getcon(), show_config_by_name_missing_ok(), similar_escape(), ssl_cipher(), ssl_client_dn(), ssl_client_dn_field(), ssl_client_serial(), ssl_issuer_dn(), ssl_issuer_field(), ssl_version(), string_agg_finalfn(), test_fdw_handler(), text_concat(), text_concat_ws(), text_format(), text_to_array_internal(), textregexsubstr(), timestamp_part(), timestamp_time(), timestamp_to_char(), timestamptz_part(), timestamptz_time(), timestamptz_timetz(), timestamptz_to_char(), to_regclass(), to_regnamespace(), to_regoper(), to_regoperator(), to_regproc(), to_regprocedure(), to_regrole(), to_regtype(), ts_lexize(), tuple_data_split(), txid_current_if_assigned(), txid_status(), window_first_value(), window_last_value(), window_nth_value(), window_ntile(), worker_spi_launch(), xmlconcat2(), xpath_list(), xpath_nodeset(), xpath_number(), xpath_string(), and xslt_process().

◆ PG_RETURN_OID

◆ PG_RETURN_POINTER

#define PG_RETURN_POINTER (   x)    return PointerGetDatum(x)

Definition at line 326 of file fmgr.h.

Referenced by _int_inter(), _int_union(), _lca(), _ltq_extract_regex(), _ltree_compress(), _ltree_extract_isparent(), _ltree_extract_risparent(), _ltree_penalty(), _ltree_picksplit(), _ltree_same(), _ltree_union(), _ltxtq_extract_exec(), array_agg_array_transfn(), array_agg_transfn(), array_to_tsvector(), blhandler(), bool_accum(), bool_accum_inv(), bqarr_in(), bqarr_out(), brin_inclusion_opcinfo(), brin_minmax_opcinfo(), brinhandler(), bthandler(), bytea_string_agg_transfn(), complex_add(), complex_in(), complex_recv(), current_schemas(), dintdict_init(), dintdict_lexize(), dispell_init(), dispell_lexize(), dsimple_init(), dsimple_lexize(), dsnowball_init(), dsnowball_lexize(), dsynonym_init(), dsynonym_lexize(), dxsyn_init(), dxsyn_lexize(), file_fdw_handler(), g_cube_decompress(), g_cube_picksplit(), g_cube_union(), g_int_compress(), g_int_decompress(), g_int_penalty(), g_int_picksplit(), g_int_same(), g_int_union(), g_intbig_compress(), g_intbig_penalty(), g_intbig_picksplit(), g_intbig_same(), g_intbig_union(), gbt_bit_compress(), gbt_bit_penalty(), gbt_bit_picksplit(), gbt_bit_same(), gbt_bit_union(), gbt_bpchar_compress(), gbt_bytea_compress(), gbt_bytea_penalty(), gbt_bytea_picksplit(), gbt_bytea_same(), gbt_bytea_union(), gbt_cash_compress(), gbt_cash_fetch(), gbt_cash_penalty(), gbt_cash_picksplit(), gbt_cash_same(), gbt_cash_union(), gbt_date_compress(), gbt_date_fetch(), gbt_date_penalty(), gbt_date_picksplit(), gbt_date_same(), gbt_date_union(), gbt_decompress(), gbt_enum_compress(), gbt_enum_fetch(), gbt_enum_penalty(), gbt_enum_picksplit(), gbt_enum_same(), gbt_enum_union(), gbt_float4_compress(), gbt_float4_fetch(), gbt_float4_penalty(), gbt_float4_picksplit(), gbt_float4_same(), gbt_float4_union(), gbt_float8_compress(), gbt_float8_fetch(), gbt_float8_penalty(), gbt_float8_picksplit(), gbt_float8_same(), gbt_float8_union(), gbt_inet_compress(), gbt_inet_penalty(), gbt_inet_picksplit(), gbt_inet_same(), gbt_inet_union(), gbt_int2_compress(), gbt_int2_fetch(), gbt_int2_penalty(), gbt_int2_picksplit(), gbt_int2_same(), gbt_int2_union(), gbt_int4_compress(), gbt_int4_fetch(), gbt_int4_penalty(), gbt_int4_picksplit(), gbt_int4_same(), gbt_int4_union(), gbt_int8_compress(), gbt_int8_fetch(), gbt_int8_penalty(), gbt_int8_picksplit(), gbt_int8_same(), gbt_int8_union(), gbt_intv_compress(), gbt_intv_decompress(), gbt_intv_fetch(), gbt_intv_penalty(), gbt_intv_picksplit(), gbt_intv_same(), gbt_intv_union(), gbt_macad8_compress(), gbt_macad8_fetch(), gbt_macad8_penalty(), gbt_macad8_picksplit(), gbt_macad8_same(), gbt_macad8_union(), gbt_macad_compress(), gbt_macad_fetch(), gbt_macad_penalty(), gbt_macad_picksplit(), gbt_macad_same(), gbt_macad_union(), gbt_numeric_compress(), gbt_numeric_penalty(), gbt_numeric_picksplit(), gbt_numeric_same(), gbt_numeric_union(), gbt_oid_compress(), gbt_oid_fetch(), gbt_oid_penalty(), gbt_oid_picksplit(), gbt_oid_same(), gbt_oid_union(), gbt_text_compress(), gbt_text_penalty(), gbt_text_picksplit(), gbt_text_same(), gbt_text_union(), gbt_time_compress(), gbt_time_fetch(), gbt_time_penalty(), gbt_time_picksplit(), gbt_time_same(), gbt_time_union(), gbt_timetz_compress(), gbt_ts_compress(), gbt_ts_fetch(), gbt_ts_penalty(), gbt_ts_picksplit(), gbt_ts_same(), gbt_ts_union(), gbt_tstz_compress(), gbt_uuid_compress(), gbt_uuid_fetch(), gbt_uuid_penalty(), gbt_uuid_picksplit(), gbt_uuid_same(), gbt_uuid_union(), gbt_var_decompress(), gbt_var_fetch(), gbtreekey_in(), gbtreekey_out(), ghstore_compress(), ghstore_decompress(), ghstore_penalty(), ghstore_picksplit(), ghstore_same(), ghstore_union(), gin_btree_extract_query(), gin_btree_extract_value(), gin_extract_hstore(), gin_extract_hstore_query(), gin_extract_jsonb(), gin_extract_jsonb_path(), gin_extract_jsonb_query(), gin_extract_jsonb_query_path(), gin_extract_query_trgm(), gin_extract_tsquery(), gin_extract_tsvector(), gin_extract_value_trgm(), ginarrayextract(), ginhandler(), ginint4_queryextract(), ginqueryarrayextract(), gist_box_penalty(), gist_box_picksplit(), gist_box_same(), gist_box_union(), gist_circle_compress(), gist_point_compress(), gist_point_fetch(), gist_poly_compress(), gisthandler(), gseg_compress(), gseg_decompress(), gseg_penalty(), gseg_picksplit(), gseg_same(), gtrgm_compress(), gtrgm_decompress(), gtrgm_penalty(), gtrgm_picksplit(), gtrgm_same(), gtrgm_union(), gtsquery_compress(), gtsquery_penalty(), gtsquery_picksplit(), gtsquery_same(), gtsvector_compress(), gtsvector_decompress(), gtsvector_penalty(), gtsvector_picksplit(), gtsvector_same(), gtsvector_union(), gtsvectorout(), hashhandler(), hstore_akeys(), hstore_avals(), hstore_concat(), hstore_delete(), hstore_delete_array(), hstore_delete_hstore(), hstore_from_array(), hstore_from_arrays(), hstore_from_record(), hstore_from_text(), hstore_in(), hstore_populate_record(), hstore_recv(), hstore_slice_to_array(), hstore_slice_to_hstore(), hstore_to_array(), hstore_to_jsonb(), hstore_to_jsonb_loose(), hstore_to_matrix(), inet_gist_compress(), inet_gist_fetch(), inet_gist_penalty(), inet_gist_picksplit(), inet_gist_same(), inet_gist_union(), int2_accum(), int2_accum_inv(), int2_sum(), int2vectorin(), int2vectorrecv(), int44in(), int4_accum(), int4_accum_inv(), int4_sum(), int8_accum(), int8_accum_inv(), int8_avg_accum(), int8_avg_accum_inv(), int8_avg_combine(), int8_avg_deserialize(), int8dec(), int8inc(), intarray_del_elem(), intarray_push_array(), intarray_push_elem(), interval_transform(), intset(), intset_subtract(), intset_union_elem(), json_agg_transfn(), json_object_agg_transfn(), jsonb_agg_finalfn(), jsonb_agg_transfn(), jsonb_build_array(), jsonb_build_array_noargs(), jsonb_build_object(), jsonb_build_object_noargs(), jsonb_from_cstring(), jsonb_object(), jsonb_object_agg_finalfn(), jsonb_object_agg_transfn(), jsonb_object_two_arg(), jsonb_strip_nulls(), lca(), lquery_in(), lquery_out(), ltree2text(), ltree_addltree(), ltree_addtext(), ltree_compress(), ltree_decompress(), ltree_in(), ltree_out(), ltree_penalty(), ltree_picksplit(), ltree_same(), ltree_textadd(), ltree_union(), ltxtq_in(), ltxtq_out(), make_tuple_indirect(), numeric_accum(), numeric_accum_inv(), numeric_avg_accum(), numeric_avg_combine(), numeric_avg_deserialize(), numeric_combine(), numeric_deserialize(), numeric_poly_combine(), numeric_poly_deserialize(), numeric_transform(), oidvectorin(), oidvectorrecv(), ordered_set_transition(), ordered_set_transition_multi(), percentile_cont_multi_final_common(), percentile_disc_multi_final(), plainto_tsquery_byid(), plperl_to_hstore(), plpython_to_hstore(), plpython_to_jsonb(), populate_record_worker(), postgres_fdw_handler(), prsd_headline(), prsd_lextype(), prsd_start(), range_gist_penalty(), range_gist_picksplit(), range_gist_same(), seg_in(), seg_inter(), seg_union(), show_trgm(), sort(), sort_asc(), sort_desc(), spghandler(), string_agg_transfn(), subarray(), subltree(), subpath(), testprs_lextype(), testprs_start(), text2ltree(), thesaurus_init(), thesaurus_lexize(), time_transform(), timestamp_izone_transform(), timestamp_transform(), timestamp_zone_transform(), to_jsonb(), ts_headline_byid_opt(), ts_lexize(), tsm_bernoulli_handler(), tsm_system_handler(), tsm_system_rows_handler(), tsm_system_time_handler(), tsquery_and(), tsquery_not(), tsquery_or(), tsquery_phrase(), tsquery_phrase_distance(), tsquery_rewrite(), tsquery_rewrite_query(), tsqueryout(), tsquerytree(), tsvector_concat(), tsvector_delete_arr(), tsvector_delete_str(), tsvector_filter(), tsvector_setweight(), tsvector_setweight_by_filter(), tsvector_strip(), tsvector_to_array(), txid_current_snapshot(), txid_snapshot_in(), txid_snapshot_recv(), unaccent_init(), unaccent_lexize(), uniq(), uuid_recv(), varbit_transform(), varchar_transform(), and widget_in().

◆ PG_RETURN_TEXT_P

#define PG_RETURN_TEXT_P (   x)    PG_RETURN_POINTER(x)

Definition at line 336 of file fmgr.h.

Referenced by array_dims(), array_to_json(), array_to_json_pretty(), array_to_text(), array_to_text_null(), ASN1_STRING_to_text(), binary_encode(), booltext(), brin_page_type(), btrim(), btrim1(), cash_words(), char_text(), chr(), cidr_abbrev(), citext_larger(), citext_smaller(), concat_text(), copytext(), current_query(), dblink_build_sql_delete(), dblink_build_sql_insert(), dblink_build_sql_update(), dblink_cancel_query(), dblink_close(), dblink_connect(), dblink_disconnect(), dblink_error_message(), dblink_exec(), dblink_open(), dmetaphone(), dmetaphone_alt(), float4_to_char(), float8_to_char(), format_type(), fsm_page_contents(), get_command_tag(), get_command_type(), get_jsonb_path_all(), get_path_all(), hash_page_type(), hstore_fetchval(), hstore_to_json(), hstore_to_json_loose(), inet_abbrev(), initcap(), int4_to_char(), int8_to_char(), interval_to_char(), json_agg_finalfn(), json_array_element(), json_array_element_text(), json_build_array(), json_build_array_noargs(), json_build_object(), json_build_object_noargs(), json_in(), json_object(), json_object_agg_finalfn(), json_object_field(), json_object_field_text(), json_object_two_arg(), json_recv(), json_strip_nulls(), json_typeof(), jsonb_array_element_text(), jsonb_object_field_text(), jsonb_pretty(), jsonb_typeof(), like_escape(), lower(), lpad(), ltrim(), ltrim1(), md5_bytea(), md5_text(), metaphone(), name_text(), network_host(), network_show(), numeric_to_char(), oidvectortypes(), pg_armor(), pg_collation_actual_version(), pg_collation_for(), pg_crypt(), pg_current_logfile(), pg_dearmor(), pg_describe_object(), pg_export_snapshot(), pg_gen_salt(), pg_gen_salt_rounds(), pg_get_constraintdef(), pg_get_constraintdef_ext(), pg_get_expr(), pg_get_expr_ext(), pg_get_function_arg_default(), pg_get_function_arguments(), pg_get_function_identity_arguments(), pg_get_function_result(), pg_get_functiondef(), pg_get_indexdef(), pg_get_indexdef_ext(), pg_get_partition_constraintdef(), pg_get_partkeydef(), pg_get_ruledef(), pg_get_ruledef_ext(), pg_get_serial_sequence(), pg_get_statisticsobjdef(), pg_get_triggerdef(), pg_get_triggerdef_ext(), pg_get_viewdef(), pg_get_viewdef_ext(), pg_get_viewdef_name(), pg_get_viewdef_name_ext(), pg_get_viewdef_wrap(), pg_read_file(), pg_read_file_v2(), pg_relation_filepath(), pg_size_pretty(), pg_size_pretty_numeric(), pg_stat_get_backend_activity(), pg_stat_get_backend_wait_event(), pg_stat_get_backend_wait_event_type(), pg_tablespace_location(), pg_walfile_name(), pgp_key_id_w(), pgp_pub_decrypt_bytea(), pgp_pub_decrypt_text(), pgp_pub_encrypt_bytea(), pgp_pub_encrypt_text(), pgp_sym_decrypt_bytea(), pgp_sym_decrypt_text(), pgp_sym_encrypt_bytea(), pgp_sym_encrypt_text(), pgsql_version(), quote_ident(), quote_literal(), quote_nullable(), repeat(), replace_text(), row_to_json(), row_to_json_pretty(), rpad(), rtrim(), rtrim1(), sepgsql_getcon(), sepgsql_mcstrans_in(), sepgsql_mcstrans_out(), set_config_by_name(), show_config_by_name(), show_config_by_name_missing_ok(), similar_escape(), soundex(), split_text(), ssl_cipher(), ssl_version(), string_agg_finalfn(), text_concat(), text_concat_ws(), text_format(), text_larger(), text_left(), text_reverse(), text_right(), text_smaller(), text_substr(), text_substr_no_len(), textcat(), textin(), textoverlay(), textoverlay_no_len(), textrecv(), textregexreplace(), textregexreplace_noopt(), timeofday(), timestamp_to_char(), timestamptz_to_char(), to_ascii_default(), to_ascii_enc(), to_ascii_encname(), to_hex32(), to_hex64(), to_json(), translate(), ts_headline_json_byid_opt(), tsquerytree(), txid_status(), unaccent_dict(), upper(), X509_NAME_to_text(), xml_encode_special_chars(), xmltotext(), xpath_list(), xpath_nodeset(), xpath_string(), and xslt_process().

◆ PG_RETURN_UINT16

#define PG_RETURN_UINT16 (   x)    return UInt16GetDatum(x)

Definition at line 322 of file fmgr.h.

◆ PG_RETURN_UINT32

#define PG_RETURN_UINT32 (   x)    return UInt32GetDatum(x)

Definition at line 320 of file fmgr.h.

Referenced by hash_aclitem(), hash_array(), hash_numeric(), hashfloat4(), hashfloat8(), and timetz_hash().

◆ PG_RETURN_UINT64

◆ PG_RETURN_VARCHAR_P

#define PG_RETURN_VARCHAR_P (   x)    PG_RETURN_POINTER(x)

Definition at line 338 of file fmgr.h.

Referenced by varchar(), varcharin(), and varcharrecv().

◆ PG_RETURN_VOID

#define PG_RETURN_VOID ( )    return (Datum) 0

Definition at line 314 of file fmgr.h.

Referenced by anyarray_in(), anyarray_recv(), anyenum_in(), anyrange_in(), ascii_to_mic(), ascii_to_utf8(), autoprewarm_start_worker(), be_lo_put(), big5_to_euc_tw(), big5_to_mic(), big5_to_utf8(), binary_upgrade_create_empty_extension(), binary_upgrade_set_next_array_pg_type_oid(), binary_upgrade_set_next_heap_pg_class_oid(), binary_upgrade_set_next_index_pg_class_oid(), binary_upgrade_set_next_pg_authid_oid(), binary_upgrade_set_next_pg_enum_oid(), binary_upgrade_set_next_pg_type_oid(), binary_upgrade_set_next_toast_pg_class_oid(), binary_upgrade_set_next_toast_pg_type_oid(), binary_upgrade_set_record_init_privs(), bpchar_sortsupport(), brin_desummarize_range(), brin_inclusion_union(), brin_minmax_union(), bt_index_check(), bt_index_parent_check(), btbpchar_pattern_sortsupport(), btfloat4sortsupport(), btfloat8sortsupport(), btint2sortsupport(), btint4sortsupport(), btint8sortsupport(), btnamesortsupport(), btoidsortsupport(), bttext_pattern_sortsupport(), bttextsortsupport(), bytea_sortsupport(), date_sortsupport(), dblink_fdw_validator(), dummy_seclabel_dummy(), euc_cn_to_mic(), euc_cn_to_utf8(), euc_jis_2004_to_shift_jis_2004(), euc_jis_2004_to_utf8(), euc_jp_to_mic(), euc_jp_to_sjis(), euc_jp_to_utf8(), euc_kr_to_mic(), euc_kr_to_utf8(), euc_tw_to_big5(), euc_tw_to_mic(), euc_tw_to_utf8(), file_fdw_validator(), fmgr_c_validator(), fmgr_internal_validator(), fmgr_sql_validator(), gb18030_to_utf8(), gbk_to_utf8(), inet_spg_choose(), inet_spg_config(), inet_spg_inner_consistent(), inet_spg_picksplit(), iso8859_1_to_utf8(), iso8859_to_utf8(), iso_to_koi8r(), iso_to_mic(), iso_to_win1251(), iso_to_win866(), johab_to_utf8(), koi8r_to_iso(), koi8r_to_mic(), koi8r_to_utf8(), koi8r_to_win1251(), koi8r_to_win866(), koi8u_to_utf8(), latin1_to_mic(), latin2_to_mic(), latin2_to_win1250(), latin3_to_mic(), latin4_to_mic(), macaddr_sortsupport(), mic_to_ascii(), mic_to_big5(), mic_to_euc_cn(), mic_to_euc_jp(), mic_to_euc_kr(), mic_to_euc_tw(), mic_to_iso(), mic_to_koi8r(), mic_to_latin1(), mic_to_latin2(), mic_to_latin3(), mic_to_latin4(), mic_to_sjis(), mic_to_win1250(), mic_to_win1251(), mic_to_win866(), numeric_sortsupport(), pg_advisory_lock_int4(), pg_advisory_lock_int8(), pg_advisory_lock_shared_int4(), pg_advisory_lock_shared_int8(), pg_advisory_unlock_all(), pg_advisory_xact_lock_int4(), pg_advisory_xact_lock_int8(), pg_advisory_xact_lock_shared_int4(), pg_advisory_xact_lock_shared_int8(), pg_ddl_command_in(), pg_ddl_command_out(), pg_ddl_command_recv(), pg_ddl_command_send(), pg_dependencies_in(), pg_dependencies_recv(), pg_drop_replication_slot(), pg_event_trigger_ddl_commands(), pg_extension_config_dump(), pg_ndistinct_in(), pg_ndistinct_recv(), pg_node_tree_in(), pg_node_tree_recv(), pg_notify(), pg_replication_origin_advance(), pg_replication_origin_drop(), pg_replication_origin_session_reset(), pg_replication_origin_session_setup(), pg_replication_origin_xact_reset(), pg_replication_origin_xact_setup(), pg_sleep(), pg_stat_clear_snapshot(), pg_stat_reset(), pg_stat_reset_shared(), pg_stat_reset_single_function_counters(), pg_stat_reset_single_table_counters(), pg_stat_statements_reset(), pg_truncate_visibility_map(), pg_wal_replay_pause(), pg_wal_replay_resume(), plperl_inline_handler(), plperl_validator(), plpgsql_validator(), plpython_inline_handler(), plpython_validator(), postgres_fdw_validator(), prsd_end(), regress_putenv(), setseed(), shell_in(), shell_out(), shift_jis_2004_to_euc_jis_2004(), shift_jis_2004_to_utf8(), sjis_to_euc_jp(), sjis_to_mic(), sjis_to_utf8(), spg_bbox_quad_config(), spg_box_quad_choose(), spg_box_quad_config(), spg_box_quad_inner_consistent(), spg_box_quad_picksplit(), spg_kd_choose(), spg_kd_config(), spg_kd_inner_consistent(), spg_kd_picksplit(), spg_quad_choose(), spg_quad_config(), spg_quad_inner_consistent(), spg_quad_picksplit(), spg_range_quad_choose(), spg_range_quad_config(), spg_range_quad_inner_consistent(), spg_range_quad_picksplit(), spg_text_choose(), spg_text_config(), spg_text_inner_consistent(), spg_text_picksplit(), test_bloomfilter(), test_rb_tree(), test_shm_mq(), test_shm_mq_pipelined(), testprs_end(), timestamp_sortsupport(), uhc_to_utf8(), utf8_to_ascii(), utf8_to_big5(), utf8_to_euc_cn(), utf8_to_euc_jis_2004(), utf8_to_euc_jp(), utf8_to_euc_kr(), utf8_to_euc_tw(), utf8_to_gb18030(), utf8_to_gbk(), utf8_to_iso8859(), utf8_to_iso8859_1(), utf8_to_johab(), utf8_to_koi8r(), utf8_to_koi8u(), utf8_to_shift_jis_2004(), utf8_to_sjis(), utf8_to_uhc(), utf8_to_win(), uuid_sortsupport(), void_in(), void_recv(), wait_pid(), win1250_to_latin2(), win1250_to_mic(), win1251_to_iso(), win1251_to_koi8r(), win1251_to_mic(), win1251_to_win866(), win866_to_iso(), win866_to_koi8r(), win866_to_mic(), win866_to_win1251(), and win_to_utf8().

Typedef Documentation

◆ fmAggrefPtr

Definition at line 23 of file fmgr.h.

◆ fmExprContextCallbackFunction

typedef void(* fmExprContextCallbackFunction) (Datum arg)

Definition at line 26 of file fmgr.h.

◆ fmgr_hook_type

typedef void(* fmgr_hook_type) (FmgrHookEventType event, FmgrInfo *flinfo, Datum *arg)

Definition at line 729 of file fmgr.h.

◆ FmgrHookEventType

◆ FmgrInfo

◆ fmNodePtr

Definition at line 22 of file fmgr.h.

◆ fmStringInfo

Definition at line 29 of file fmgr.h.

◆ FunctionCallInfo

Definition at line 38 of file fmgr.h.

◆ FunctionCallInfoData

◆ needs_fmgr_hook_type

typedef bool(* needs_fmgr_hook_type) (Oid fn_oid)

Definition at line 727 of file fmgr.h.

◆ PGFInfoFunction

typedef const Pg_finfo_record*(* PGFInfoFunction) (void)

Definition at line 365 of file fmgr.h.

◆ PGFunction

typedef Datum(* PGFunction) (FunctionCallInfo fcinfo)

Definition at line 40 of file fmgr.h.

◆ PGModuleMagicFunction

typedef const Pg_magic_struct*(* PGModuleMagicFunction) (void)

Definition at line 444 of file fmgr.h.

Enumeration Type Documentation

◆ FmgrHookEventType

Enumerator
FHET_START 
FHET_END 
FHET_ABORT 

Definition at line 720 of file fmgr.h.

721 {
722  FHET_START,
723  FHET_END,
724  FHET_ABORT
FmgrHookEventType
Definition: fmgr.h:720
Definition: fmgr.h:723

Function Documentation

◆ AggCheckCallContext()

int AggCheckCallContext ( FunctionCallInfo  fcinfo,
MemoryContext aggcontext 
)

Definition at line 3492 of file nodeAgg.c.

References AGG_CONTEXT_AGGREGATE, AGG_CONTEXT_WINDOW, FunctionCallInfoData::context, AggState::curaggcontext, ExprContext::ecxt_per_tuple_memory, and IsA.

Referenced by array_agg_array_finalfn(), array_agg_array_transfn(), array_agg_finalfn(), 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(), json_agg_finalfn(), json_agg_transfn(), json_object_agg_finalfn(), json_object_agg_transfn(), jsonb_agg_finalfn(), jsonb_agg_transfn(), jsonb_object_agg_finalfn(), jsonb_object_agg_transfn(), makeBoolAggState(), makeNumericAggState(), makeStringAggState(), mode_final(), numeric_accum_inv(), 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(), and string_agg_finalfn().

3493 {
3494  if (fcinfo->context && IsA(fcinfo->context, AggState))
3495  {
3496  if (aggcontext)
3497  {
3498  AggState *aggstate = ((AggState *) fcinfo->context);
3499  ExprContext *cxt = aggstate->curaggcontext;
3500 
3501  *aggcontext = cxt->ecxt_per_tuple_memory;
3502  }
3503  return AGG_CONTEXT_AGGREGATE;
3504  }
3505  if (fcinfo->context && IsA(fcinfo->context, WindowAggState))
3506  {
3507  if (aggcontext)
3508  *aggcontext = ((WindowAggState *) fcinfo->context)->curaggcontext;
3509  return AGG_CONTEXT_WINDOW;
3510  }
3511 
3512  /* this is just to prevent "uninitialized variable" warnings */
3513  if (aggcontext)
3514  *aggcontext = NULL;
3515  return 0;
3516 }
#define IsA(nodeptr, _type_)
Definition: nodes.h:568
fmNodePtr context
Definition: fmgr.h:80
MemoryContext ecxt_per_tuple_memory
Definition: execnodes.h:226
#define AGG_CONTEXT_AGGREGATE
Definition: fmgr.h:699
ExprContext * curaggcontext
Definition: execnodes.h:1907
#define AGG_CONTEXT_WINDOW
Definition: fmgr.h:700

◆ AggGetAggref()

fmAggrefPtr AggGetAggref ( FunctionCallInfo  fcinfo)

Definition at line 3536 of file nodeAgg.c.

References AggStatePerTransData::aggref, AggStatePerAggData::aggref, FunctionCallInfoData::context, AggState::curperagg, AggState::curpertrans, and IsA.

Referenced by ordered_set_startup().

3537 {
3538  if (fcinfo->context && IsA(fcinfo->context, AggState))
3539  {
3540  AggState *aggstate = (AggState *) fcinfo->context;
3541  AggStatePerAgg curperagg;
3542  AggStatePerTrans curpertrans;
3543 
3544  /* check curperagg (valid when in a final function) */
3545  curperagg = aggstate->curperagg;
3546 
3547  if (curperagg)
3548  return curperagg->aggref;
3549 
3550  /* check curpertrans (valid when in a transition function) */
3551  curpertrans = aggstate->curpertrans;
3552 
3553  if (curpertrans)
3554  return curpertrans->aggref;
3555  }
3556  return NULL;
3557 }
#define IsA(nodeptr, _type_)
Definition: nodes.h:568
fmNodePtr context
Definition: fmgr.h:80
Aggref * aggref
Definition: nodeAgg.h:186
Aggref * aggref
Definition: nodeAgg.h:43
AggStatePerAgg curperagg
Definition: execnodes.h:1908
AggStatePerTrans curpertrans
Definition: execnodes.h:1910

◆ AggGetTempMemoryContext()

MemoryContext AggGetTempMemoryContext ( FunctionCallInfo  fcinfo)

Definition at line 3570 of file nodeAgg.c.

References FunctionCallInfoData::context, ExprContext::ecxt_per_tuple_memory, IsA, and AggState::tmpcontext.

3571 {
3572  if (fcinfo->context && IsA(fcinfo->context, AggState))
3573  {
3574  AggState *aggstate = (AggState *) fcinfo->context;
3575 
3576  return aggstate->tmpcontext->ecxt_per_tuple_memory;
3577  }
3578  return NULL;
3579 }
#define IsA(nodeptr, _type_)
Definition: nodes.h:568
fmNodePtr context
Definition: fmgr.h:80
MemoryContext ecxt_per_tuple_memory
Definition: execnodes.h:226
ExprContext * tmpcontext
Definition: execnodes.h:1905

◆ AggRegisterCallback()

void AggRegisterCallback ( FunctionCallInfo  fcinfo,
fmExprContextCallbackFunction  func,
Datum  arg 
)

Definition at line 3635 of file nodeAgg.c.

References FunctionCallInfoData::context, AggState::curaggcontext, elog, ERROR, IsA, and RegisterExprContextCallback().

Referenced by ordered_set_startup().

3638 {
3639  if (fcinfo->context && IsA(fcinfo->context, AggState))
3640  {
3641  AggState *aggstate = (AggState *) fcinfo->context;
3642  ExprContext *cxt = aggstate->curaggcontext;
3643 
3644  RegisterExprContextCallback(cxt, func, arg);
3645 
3646  return;
3647  }
3648  elog(ERROR, "aggregate function cannot register a callback in this context");
3649 }
#define IsA(nodeptr, _type_)
Definition: nodes.h:568
fmNodePtr context
Definition: fmgr.h:80
#define ERROR
Definition: elog.h:43
ExprContext * curaggcontext
Definition: execnodes.h:1907
void RegisterExprContextCallback(ExprContext *econtext, ExprContextCallbackFunction function, Datum arg)
Definition: execUtils.c:772
void * arg
#define elog
Definition: elog.h:219

◆ AggStateIsShared()

bool AggStateIsShared ( FunctionCallInfo  fcinfo)

Definition at line 3596 of file nodeAgg.c.

References AggStatePerTransData::aggshared, FunctionCallInfoData::context, AggState::curperagg, AggState::curpertrans, IsA, and AggState::pertrans.

Referenced by ordered_set_startup().

3597 {
3598  if (fcinfo->context && IsA(fcinfo->context, AggState))
3599  {
3600  AggState *aggstate = (AggState *) fcinfo->context;
3601  AggStatePerAgg curperagg;
3602  AggStatePerTrans curpertrans;
3603 
3604  /* check curperagg (valid when in a final function) */
3605  curperagg = aggstate->curperagg;
3606 
3607  if (curperagg)
3608  return aggstate->pertrans[curperagg->transno].aggshared;
3609 
3610  /* check curpertrans (valid when in a transition function) */
3611  curpertrans = aggstate->curpertrans;
3612 
3613  if (curpertrans)
3614  return curpertrans->aggshared;
3615  }
3616  return true;
3617 }
#define IsA(nodeptr, _type_)
Definition: nodes.h:568
fmNodePtr context
Definition: fmgr.h:80
AggStatePerTrans pertrans
Definition: execnodes.h:1902
AggStatePerAgg curperagg
Definition: execnodes.h:1908
AggStatePerTrans curpertrans
Definition: execnodes.h:1910

◆ CallerFInfoFunctionCall1()

Datum CallerFInfoFunctionCall1 ( PGFunction  func,
FmgrInfo flinfo,
Oid  collation,
Datum  arg1 
)

Definition at line 1065 of file fmgr.c.

References FunctionCallInfoData::arg, FunctionCallInfoData::argnull, elog, ERROR, InitFunctionCallInfoData, and FunctionCallInfoData::isnull.

1066 {
1067  FunctionCallInfoData fcinfo;
1068  Datum result;
1069 
1070  InitFunctionCallInfoData(fcinfo, flinfo, 1, collation, NULL, NULL);
1071 
1072  fcinfo.arg[0] = arg1;
1073  fcinfo.argnull[0] = false;
1074 
1075  result = (*func) (&fcinfo);
1076 
1077  /* Check for null result, since caller is clearly not expecting one */
1078  if (fcinfo.isnull)
1079  elog(ERROR, "function %p returned NULL", (void *) func);
1080 
1081  return result;
1082 }
#define ERROR
Definition: elog.h:43
bool argnull[FUNC_MAX_ARGS]
Definition: fmgr.h:89
uintptr_t Datum
Definition: postgres.h:365
Datum arg[FUNC_MAX_ARGS]
Definition: fmgr.h:87
#define InitFunctionCallInfoData(Fcinfo, Flinfo, Nargs, Collation, Context, Resultinfo)
Definition: fmgr.h:125
#define elog
Definition: elog.h:219

◆ CallerFInfoFunctionCall2()

Datum CallerFInfoFunctionCall2 ( PGFunction  func,
FmgrInfo flinfo,
Oid  collation,
Datum  arg1,
Datum  arg2 
)

Definition at line 1085 of file fmgr.c.

References FunctionCallInfoData::arg, FunctionCallInfoData::argnull, elog, ERROR, InitFunctionCallInfoData, and FunctionCallInfoData::isnull.

Referenced by gbt_enumge(), gbt_enumgt(), gbt_enumkey_cmp(), gbt_enumle(), gbt_enumlt(), gin_btree_compare_prefix(), and gin_enum_cmp().

1086 {
1087  FunctionCallInfoData fcinfo;
1088  Datum result;
1089 
1090  InitFunctionCallInfoData(fcinfo, flinfo, 2, collation, NULL, NULL);
1091 
1092  fcinfo.arg[0] = arg1;
1093  fcinfo.arg[1] = arg2;
1094  fcinfo.argnull[0] = false;
1095  fcinfo.argnull[1] = false;
1096 
1097  result = (*func) (&fcinfo);
1098 
1099  /* Check for null result, since caller is clearly not expecting one */
1100  if (fcinfo.isnull)
1101  elog(ERROR, "function %p returned NULL", (void *) func);
1102 
1103  return result;
1104 }
#define ERROR
Definition: elog.h:43
bool argnull[FUNC_MAX_ARGS]
Definition: fmgr.h:89
uintptr_t Datum
Definition: postgres.h:365
Datum arg[FUNC_MAX_ARGS]
Definition: fmgr.h:87
#define InitFunctionCallInfoData(Fcinfo, Flinfo, Nargs, Collation, Context, Resultinfo)
Definition: fmgr.h:125
#define elog
Definition: elog.h:219

◆ CheckFunctionValidatorAccess()

bool CheckFunctionValidatorAccess ( Oid  validatorOid,
Oid  functionOid 
)

Definition at line 2178 of file fmgr.c.

References ACL_EXECUTE, ACL_USAGE, aclcheck_error(), ACLCHECK_OK, elog, ereport, errcode(), errmsg(), ERROR, GETSTRUCT, GetUserId(), HeapTupleIsValid, LANGOID, NameStr, OBJECT_FUNCTION, OBJECT_LANGUAGE, ObjectIdGetDatum, pg_language_aclcheck(), pg_proc_aclcheck(), PROCOID, ReleaseSysCache(), and SearchSysCache1().

Referenced by fmgr_c_validator(), fmgr_internal_validator(), fmgr_sql_validator(), plperl_validator(), plpgsql_validator(), and plpython_validator().

2179 {
2180  HeapTuple procTup;
2181  HeapTuple langTup;
2182  Form_pg_proc procStruct;
2183  Form_pg_language langStruct;
2184  AclResult aclresult;
2185 
2186  /*
2187  * Get the function's pg_proc entry. Throw a user-facing error for bad
2188  * OID, because validators can be called with user-specified OIDs.
2189  */
2190  procTup = SearchSysCache1(PROCOID, ObjectIdGetDatum(functionOid));
2191  if (!HeapTupleIsValid(procTup))
2192  ereport(ERROR,
2193  (errcode(ERRCODE_UNDEFINED_FUNCTION),
2194  errmsg("function with OID %u does not exist", functionOid)));
2195  procStruct = (Form_pg_proc) GETSTRUCT(procTup);
2196 
2197  /*
2198  * Fetch pg_language entry to know if this is the correct validation
2199  * function for that pg_proc entry.
2200  */
2201  langTup = SearchSysCache1(LANGOID, ObjectIdGetDatum(procStruct->prolang));
2202  if (!HeapTupleIsValid(langTup))
2203  elog(ERROR, "cache lookup failed for language %u", procStruct->prolang);
2204  langStruct = (Form_pg_language) GETSTRUCT(langTup);
2205 
2206  if (langStruct->lanvalidator != validatorOid)
2207  ereport(ERROR,
2208  (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
2209  errmsg("language validation function %u called for language %u instead of %u",
2210  validatorOid, procStruct->prolang,
2211  langStruct->lanvalidator)));
2212 
2213  /* first validate that we have permissions to use the language */
2214  aclresult = pg_language_aclcheck(procStruct->prolang, GetUserId(),
2215  ACL_USAGE);
2216  if (aclresult != ACLCHECK_OK)
2217  aclcheck_error(aclresult, OBJECT_LANGUAGE,
2218  NameStr(langStruct->lanname));
2219 
2220  /*
2221  * Check whether we are allowed to execute the function itself. If we can
2222  * execute it, there should be no possible side-effect of
2223  * compiling/validation that execution can't have.
2224  */
2225  aclresult = pg_proc_aclcheck(functionOid, GetUserId(), ACL_EXECUTE);
2226  if (aclresult != ACLCHECK_OK)
2227  aclcheck_error(aclresult, OBJECT_FUNCTION, NameStr(procStruct->proname));
2228 
2229  ReleaseSysCache(procTup);
2230  ReleaseSysCache(langTup);
2231 
2232  return true;
2233 }
#define GETSTRUCT(TUP)
Definition: htup_details.h:673
Oid GetUserId(void)
Definition: miscinit.c:379
int errcode(int sqlerrcode)
Definition: elog.c:575
AclResult pg_language_aclcheck(Oid lang_oid, Oid roleid, AclMode mode)
Definition: aclchk.c:4660
void aclcheck_error(AclResult aclerr, ObjectType objtype, const char *objectname)
Definition: aclchk.c:3348
#define ObjectIdGetDatum(X)
Definition: postgres.h:490
#define ERROR
Definition: elog.h:43
#define ACL_USAGE
Definition: parsenodes.h:82
#define ereport(elevel, rest)
Definition: elog.h:122
HeapTuple SearchSysCache1(int cacheId, Datum key1)
Definition: syscache.c:1112
AclResult
Definition: acl.h:178
void ReleaseSysCache(HeapTuple tuple)
Definition: syscache.c:1160
FormData_pg_proc * Form_pg_proc
Definition: pg_proc.h:132
#define HeapTupleIsValid(tuple)
Definition: htup.h:78
FormData_pg_language * Form_pg_language
Definition: pg_language.h:49
int errmsg(const char *fmt,...)
Definition: elog.c:797
#define ACL_EXECUTE
Definition: parsenodes.h:81
AclResult pg_proc_aclcheck(Oid proc_oid, Oid roleid, AclMode mode)
Definition: aclchk.c:4648
#define NameStr(name)
Definition: c.h:576
#define elog
Definition: elog.h:219

◆ clear_external_function_hash()

void clear_external_function_hash ( void *  filehandle)

Definition at line 593 of file fmgr.c.

References hash_destroy().

Referenced by internal_unload_library().

594 {
595  if (CFuncHash)
597  CFuncHash = NULL;
598 }
void hash_destroy(HTAB *hashp)
Definition: dynahash.c:814
static HTAB * CFuncHash
Definition: fmgr.c:52

◆ DirectFunctionCall1Coll()

Datum DirectFunctionCall1Coll ( PGFunction  func,
Oid  collation,
Datum  arg1 
)

Definition at line 792 of file fmgr.c.

References FunctionCallInfoData::arg, FunctionCallInfoData::argnull, elog, ERROR, InitFunctionCallInfoData, and FunctionCallInfoData::isnull.

Referenced by Generic_Text_IC_like(), and libpqrcv_create_slot().

793 {
794  FunctionCallInfoData fcinfo;
795  Datum result;
796 
797  InitFunctionCallInfoData(fcinfo, NULL, 1, collation, NULL, NULL);
798 
799  fcinfo.arg[0] = arg1;
800  fcinfo.argnull[0] = false;
801 
802  result = (*func) (&fcinfo);
803 
804  /* Check for null result, since caller is clearly not expecting one */
805  if (fcinfo.isnull)
806  elog(ERROR, "function %p returned NULL", (void *) func);
807 
808  return result;
809 }
#define ERROR
Definition: elog.h:43
bool argnull[FUNC_MAX_ARGS]
Definition: fmgr.h:89
uintptr_t Datum
Definition: postgres.h:365
Datum arg[FUNC_MAX_ARGS]
Definition: fmgr.h:87
#define InitFunctionCallInfoData(Fcinfo, Flinfo, Nargs, Collation, Context, Resultinfo)
Definition: fmgr.h:125
#define elog
Definition: elog.h:219

◆ DirectFunctionCall2Coll()

Datum DirectFunctionCall2Coll ( PGFunction  func,
Oid  collation,
Datum  arg1,
Datum  arg2 
)

Definition at line 812 of file fmgr.c.

References FunctionCallInfoData::arg, FunctionCallInfoData::argnull, elog, ERROR, InitFunctionCallInfoData, and FunctionCallInfoData::isnull.

Referenced by gbt_textcmp(), gbt_texteq(), gbt_textge(), gbt_textgt(), gbt_textle(), and gbt_textlt().

813 {
814  FunctionCallInfoData fcinfo;
815  Datum result;
816 
817  InitFunctionCallInfoData(fcinfo, NULL, 2, collation, NULL, NULL);
818 
819  fcinfo.arg[0] = arg1;
820  fcinfo.arg[1] = arg2;
821  fcinfo.argnull[0] = false;
822  fcinfo.argnull[1] = false;
823 
824  result = (*func) (&fcinfo);
825 
826  /* Check for null result, since caller is clearly not expecting one */
827  if (fcinfo.isnull)
828  elog(ERROR, "function %p returned NULL", (void *) func);
829 
830  return result;
831 }
#define ERROR
Definition: elog.h:43
bool argnull[FUNC_MAX_ARGS]
Definition: fmgr.h:89
uintptr_t Datum
Definition: postgres.h:365
Datum arg[FUNC_MAX_ARGS]
Definition: fmgr.h:87
#define InitFunctionCallInfoData(Fcinfo, Flinfo, Nargs, Collation, Context, Resultinfo)
Definition: fmgr.h:125
#define elog
Definition: elog.h:219

◆ DirectFunctionCall3Coll()

Datum DirectFunctionCall3Coll ( PGFunction  func,
Oid  collation,
Datum  arg1,
Datum  arg2,
Datum  arg3 
)

Definition at line 834 of file fmgr.c.

References FunctionCallInfoData::arg, FunctionCallInfoData::argnull, elog, ERROR, InitFunctionCallInfoData, and FunctionCallInfoData::isnull.

836 {
837  FunctionCallInfoData fcinfo;
838  Datum result;
839 
840  InitFunctionCallInfoData(fcinfo, NULL, 3, collation, NULL, NULL);
841 
842  fcinfo.arg[0] = arg1;
843  fcinfo.arg[1] = arg2;
844  fcinfo.arg[2] = arg3;
845  fcinfo.argnull[0] = false;
846  fcinfo.argnull[1] = false;
847  fcinfo.argnull[2] = false;
848 
849  result = (*func) (&fcinfo);
850 
851  /* Check for null result, since caller is clearly not expecting one */
852  if (fcinfo.isnull)
853  elog(ERROR, "function %p returned NULL", (void *) func);
854 
855  return result;
856 }
#define ERROR
Definition: elog.h:43
bool argnull[FUNC_MAX_ARGS]
Definition: fmgr.h:89
uintptr_t Datum
Definition: postgres.h:365
Datum arg[FUNC_MAX_ARGS]
Definition: fmgr.h:87
#define InitFunctionCallInfoData(Fcinfo, Flinfo, Nargs, Collation, Context, Resultinfo)
Definition: fmgr.h:125
#define elog
Definition: elog.h:219

◆ DirectFunctionCall4Coll()

Datum DirectFunctionCall4Coll ( PGFunction  func,
Oid  collation,
Datum  arg1,
Datum  arg2,
Datum  arg3,
Datum  arg4 
)

Definition at line 859 of file fmgr.c.

References FunctionCallInfoData::arg, FunctionCallInfoData::argnull, elog, ERROR, InitFunctionCallInfoData, and FunctionCallInfoData::isnull.

Referenced by execute_extension_script().

861 {
862  FunctionCallInfoData fcinfo;
863  Datum result;
864 
865  InitFunctionCallInfoData(fcinfo, NULL, 4, collation, NULL, NULL);
866 
867  fcinfo.arg[0] = arg1;
868  fcinfo.arg[1] = arg2;
869  fcinfo.arg[2] = arg3;
870  fcinfo.arg[3] = arg4;
871  fcinfo.argnull[0] = false;
872  fcinfo.argnull[1] = false;
873  fcinfo.argnull[2] = false;
874  fcinfo.argnull[3] = false;
875 
876  result = (*func) (&fcinfo);
877 
878  /* Check for null result, since caller is clearly not expecting one */
879  if (fcinfo.isnull)
880  elog(ERROR, "function %p returned NULL", (void *) func);
881 
882  return result;
883 }
#define ERROR
Definition: elog.h:43
bool argnull[FUNC_MAX_ARGS]
Definition: fmgr.h:89
uintptr_t Datum
Definition: postgres.h:365
Datum arg[FUNC_MAX_ARGS]
Definition: fmgr.h:87
#define InitFunctionCallInfoData(Fcinfo, Flinfo, Nargs, Collation, Context, Resultinfo)
Definition: fmgr.h:125
#define elog
Definition: elog.h:219

◆ DirectFunctionCall5Coll()

Datum DirectFunctionCall5Coll ( PGFunction  func,
Oid  collation,