[][src]Enum postgres_parser::sys::ParamKind

#[repr(u32)]pub enum ParamKind {
    PARAM_EXTERN,
    PARAM_EXEC,
    PARAM_SUBLINK,
    PARAM_MULTIEXPR,
}

Param

paramkind specifies the kind of parameter. The possible values for this field are:

PARAM_EXTERN: The parameter value is supplied from outside the plan. Such parameters are numbered from 1 to n.

PARAM_EXEC: The parameter is an internal executor parameter, used for passing values into and out of subqueries or from nestloop joins to their inner scans. For historical reasons, such parameters are numbered from 0. These numbers are independent of PARAM_EXTERN numbers.

PARAM_SUBLINK: The parameter represents an output column of a SubLink node's subselect. The column number is contained in the 'paramid' field. (This type of Param is converted to PARAM_EXEC during planning.)

PARAM_MULTIEXPR: Like PARAM_SUBLINK, the parameter represents an output column of a SubLink node's subselect, but here, the SubLink is always a MULTIEXPR SubLink. The highorder 16 bits of the 'paramid' field contain the SubLink's subLinkId, and the loworder 16 bits contain the column number. (This type of Param is also converted to PARAM_EXEC during planning.)

Variants

PARAM_EXTERN
PARAM_EXEC
PARAM_MULTIEXPR

Trait Implementations

impl Clone for ParamKind[src]

impl Copy for ParamKind[src]

impl Debug for ParamKind[src]

impl<'de> Deserialize<'de> for ParamKind[src]

impl Eq for ParamKind[src]

impl Hash for ParamKind[src]

impl PartialEq<ParamKind> for ParamKind[src]

impl Serialize for ParamKind[src]

impl StructuralEq for ParamKind[src]

impl StructuralPartialEq for ParamKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.