pgrx_pg_sys

Type Alias CoerceParamHook

Source
pub type CoerceParamHook = Option<unsafe extern "C" fn(pstate: *mut ParseState, param: *mut Param, targetTypeId: Oid, targetTypeMod: int32, location: c_int) -> *mut Node>;

Aliased Type§

enum CoerceParamHook {
    None,
    Some(unsafe extern "C" fn(_: *mut ParseState, _: *mut Param, _: Oid, _: i32, _: i32) -> *mut Node),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut ParseState, _: *mut Param, _: Oid, _: i32, _: i32) -> *mut Node)

Some value of type T.