[][src]Enum squawk_parser::ast::AlterTableType

#[repr(u8)]pub enum AlterTableType {
    AddColumn,
    AddColumnRecurse,
    AddColumnToView,
    ColumnDefault,
    DropNotNull,
    SetNotNull,
    SetStatistics,
    SetOptions,
    ResetOptions,
    SetStorage,
    DropColumn,
    DropColumnRecurse,
    AddIndex,
    ReAddIndex,
    AddConstraint,
    AddConstraintRecurse,
    ReAddConstraint,
    AlterConstraint,
    ValidateConstraint,
    ValidateConstraintRecurse,
    ProcessedConstraint,
    AddIndexConstraint,
    DropConstraint,
    DropConstraintRecurse,
    ReAddComment,
    AlterColumnType,
    AlterColumnGenericOptions,
    ChangeOwner,
    ClusterOn,
    DropCluster,
    SetLogged,
    SetUnLogged,
    AddOids,
    AddOidsRecurse,
    DropOids,
    SetTableSpace,
    SetRelOptions,
    ResetRelOptions,
    ReplaceRelOptions,
    EnableTrig,
    EnableAlwaysTrig,
    EnableReplicaTrig,
    DisableTrig,
    EnableTrigAll,
    DisableTrigAll,
    EnableTrigUser,
    DisableTrigUser,
    EnableRule,
    EnableAlwaysRule,
    EnableReplicaRule,
    DisableRule,
    AddInherit,
    DropInherit,
    AddOf,
    DropOf,
    ReplicaIdentity,
    EnableRowSecurity,
    DisableRowSecurity,
    ForceRowSecurity,
    NoForceRowSecurity,
    GenericOptions,
    AttachPartition,
    DetachPartition,
    AddIdentity,
    SetIdentity,
    DropIdentity,
}

Variants

AddColumn

add column

AddColumnRecurse

internal to commands/tablecmds.c

AddColumnToView

implicitly via CREATE OR REPLACE VIEW

ColumnDefault

alter column default

DropNotNull

alter column drop not null

SetNotNull

alter column set not null

SetStatistics

alter column set statistics

SetOptions

alter column set ( options )

ResetOptions

alter column reset ( options )

SetStorage

alter column set storage

DropColumn

drop column

DropColumnRecurse

internal to commands/tablecmds.c

AddIndex

add index

ReAddIndex

internal to commands/tablecmds.c

AddConstraint

add constraint

AddConstraintRecurse

internal to commands/tablecmds.c

ReAddConstraint

internal to commands/tablecmds.c

AlterConstraint

alter constraint

ValidateConstraint

validate constraint

ValidateConstraintRecurse

internal to commands/tablecmds.c

ProcessedConstraint

pre-processed add constraint (local in parser/parse_utilcmd.c)

AddIndexConstraint

add constraint using existing index

DropConstraint

drop constraint

DropConstraintRecurse

internal to commands/tablecmds.c

ReAddComment

internal to commands/tablecmds.c

AlterColumnType

alter column type

AlterColumnGenericOptions

alter column OPTIONS (...)

ChangeOwner

change owner

ClusterOn

CLUSTER ON

DropCluster

SET WITHOUT CLUSTER

SetLogged

SET LOGGED

SetUnLogged

SET UNLOGGED

AddOids

SET WITH OIDS

AddOidsRecurse

internal to commands/tablecmds.c

DropOids

SET WITHOUT OIDS

SetTableSpace

SET TABLESPACE

SetRelOptions

SET (...) -- AM specific parameters

ResetRelOptions

RESET (...) -- AM specific parameters

ReplaceRelOptions

replace reloption list in its entirety

EnableTrig

ENABLE TRIGGER name

EnableAlwaysTrig

ENABLE ALWAYS TRIGGER name

EnableReplicaTrig

ENABLE REPLICA TRIGGER name

DisableTrig

DISABLE TRIGGER name

EnableTrigAll

ENABLE TRIGGER ALL

DisableTrigAll

DISABLE TRIGGER ALL

EnableTrigUser

ENABLE TRIGGER USER

DisableTrigUser

DISABLE TRIGGER USER

EnableRule

ENABLE RULE name

EnableAlwaysRule

ENABLE ALWAYS RULE name

EnableReplicaRule

ENABLE REPLICA RULE name

DisableRule

DISABLE RULE name

AddInherit

INHERIT parent

DropInherit

NO INHERIT parent

AddOf

OF <type_name>

DropOf

NOT OF

ReplicaIdentity

REPLICA IDENTITY

EnableRowSecurity

ENABLE ROW SECURITY

DisableRowSecurity

DISABLE ROW SECURITY

ForceRowSecurity

FORCE ROW SECURITY

NoForceRowSecurity

NO FORCE ROW SECURITY

GenericOptions

OPTIONS (...)

AttachPartition

ATTACH PARTITION

DetachPartition

DETACH PARTITION

AddIdentity

ADD IDENTITY

SetIdentity

SET identity column options

DropIdentity

DROP IDENTITY

Trait Implementations

impl Debug for AlterTableType[src]

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

impl PartialEq<AlterTableType> for AlterTableType[src]

impl Serialize for AlterTableType[src]

impl StructuralPartialEq for AlterTableType[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, 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.