[][src]Struct postgres_parser::sys::IntoClause

#[repr(C)]pub struct IntoClause {
    pub type_: NodeTag,
    pub rel: *mut RangeVar,
    pub colNames: *mut List,
    pub accessMethod: *mut c_char,
    pub options: *mut List,
    pub onCommit: OnCommitAction,
    pub tableSpaceName: *mut c_char,
    pub viewQuery: *mut Node,
    pub skipData: bool,
}

IntoClause target information for SELECT INTO, CREATE TABLE AS, and CREATE MATERIALIZED VIEW

For CREATE MATERIALIZED VIEW, viewQuery is the parsedbutnotrewritten SELECT Query for the view; otherwise it's NULL. (Although it's actually Query*, we declare it as Node* to avoid a forward reference.)

Fields

type_: NodeTagrel: *mut RangeVarcolNames: *mut List

target relation name

accessMethod: *mut c_char

column names to assign, or NIL

options: *mut List

table access method

onCommit: OnCommitAction

options from WITH clause

tableSpaceName: *mut c_char

what do we do at COMMIT?

viewQuery: *mut Node

table space to use, or NULL

skipData: bool

materialized view's SELECT query

Trait Implementations

impl Debug for IntoClause[src]

impl Default for IntoClause[src]

impl Eq for IntoClause[src]

impl Hash for IntoClause[src]

impl PartialEq<IntoClause> for IntoClause[src]

impl StructuralEq for IntoClause[src]

impl StructuralPartialEq for IntoClause[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> From<T> for T[src]

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

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.