pgrx_pg_sys

Type Alias planner_hook_type

Source
pub type planner_hook_type = Option<unsafe extern "C" fn(parse: *mut Query, query_string: *const c_char, cursorOptions: c_int, boundParams: ParamListInfo) -> *mut PlannedStmt>;

Aliased Type§

enum planner_hook_type {
    None,
    Some(unsafe extern "C" fn(_: *mut Query, _: *const i8, _: i32, _: *mut ParamListInfoData) -> *mut PlannedStmt),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut Query, _: *const i8, _: i32, _: *mut ParamListInfoData) -> *mut PlannedStmt)

Some value of type T.