pgrx_pg_sys

Type Alias ParamFetchHook

Source
pub type ParamFetchHook = Option<unsafe extern "C" fn(params: ParamListInfo, paramid: c_int, speculative: bool, workspace: *mut ParamExternData) -> *mut ParamExternData>;

Aliased Type§

enum ParamFetchHook {
    None,
    Some(unsafe extern "C" fn(_: *mut ParamListInfoData, _: i32, _: bool, _: *mut ParamExternData) -> *mut ParamExternData),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut ParamListInfoData, _: i32, _: bool, _: *mut ParamExternData) -> *mut ParamExternData)

Some value of type T.