pgrx_pg_sys

Type Alias walrcv_exec_fn

Source
pub type walrcv_exec_fn = Option<unsafe extern "C" fn(conn: *mut WalReceiverConn, query: *const c_char, nRetTypes: c_int, retTypes: *const Oid) -> *mut WalRcvExecResult>;

Aliased Type§

enum walrcv_exec_fn {
    None,
    Some(unsafe extern "C" fn(_: *mut WalReceiverConn, _: *const i8, _: i32, _: *const Oid) -> *mut WalRcvExecResult),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut WalReceiverConn, _: *const i8, _: i32, _: *const Oid) -> *mut WalRcvExecResult)

Some value of type T.