[][src]Struct postgres_parser::sys::RangeVar

#[repr(C)]pub struct RangeVar {
    pub type_: NodeTag,
    pub catalogname: *mut c_char,
    pub schemaname: *mut c_char,
    pub relname: *mut c_char,
    pub inh: bool,
    pub relpersistence: c_char,
    pub alias: *mut Alias,
    pub location: c_int,
}

RangeVar range variable, used in FROM clauses

Also used to represent table names in utility statements; there, the alias field is not used, and inh tells whether to apply the operation recursively to child tables. In some contexts it is also useful to carry a TEMP table indication here.

Fields

type_: NodeTagcatalogname: *mut c_charschemaname: *mut c_char

the catalog (database) name, or NULL

relname: *mut c_char

the schema name, or NULL

inh: bool

the relation/sequence name

relpersistence: c_char

expand rel by inheritance? recursively act on children?

alias: *mut Alias

see RELPERSISTENCE_* in pg_class.h

location: c_int

table alias & optional column aliases

Trait Implementations

impl Debug for RangeVar[src]

impl Default for RangeVar[src]

impl Eq for RangeVar[src]

impl Hash for RangeVar[src]

impl PartialEq<RangeVar> for RangeVar[src]

impl StructuralEq for RangeVar[src]

impl StructuralPartialEq for RangeVar[src]

Auto Trait Implementations

impl RefUnwindSafe for RangeVar

impl !Send for RangeVar

impl !Sync for RangeVar

impl Unpin for RangeVar

impl UnwindSafe for RangeVar

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.