pgrx_pg_sys

Type Alias amcostestimate_function

Source
pub type amcostestimate_function = Option<unsafe extern "C" fn(root: *mut PlannerInfo, path: *mut IndexPath, loop_count: f64, indexStartupCost: *mut Cost, indexTotalCost: *mut Cost, indexSelectivity: *mut Selectivity, indexCorrelation: *mut f64, indexPages: *mut f64)>;

Aliased Type§

enum amcostestimate_function {
    None,
    Some(unsafe extern "C" fn(_: *mut PlannerInfo, _: *mut IndexPath, _: f64, _: *mut f64, _: *mut f64, _: *mut f64, _: *mut f64, _: *mut f64)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut PlannerInfo, _: *mut IndexPath, _: f64, _: *mut f64, _: *mut f64, _: *mut f64, _: *mut f64, _: *mut f64))

Some value of type T.