[][src]Enum postgres_parser::sys::AlterTableType

#[repr(u32)]pub enum AlterTableType {
    AT_AddColumn,
    AT_AddColumnRecurse,
    AT_AddColumnToView,
    AT_ColumnDefault,
    AT_DropNotNull,
    AT_SetNotNull,
    AT_CheckNotNull,
    AT_SetStatistics,
    AT_SetOptions,
    AT_ResetOptions,
    AT_SetStorage,
    AT_DropColumn,
    AT_DropColumnRecurse,
    AT_AddIndex,
    AT_ReAddIndex,
    AT_AddConstraint,
    AT_AddConstraintRecurse,
    AT_ReAddConstraint,
    AT_ReAddDomainConstraint,
    AT_AlterConstraint,
    AT_ValidateConstraint,
    AT_ValidateConstraintRecurse,
    AT_ProcessedConstraint,
    AT_AddIndexConstraint,
    AT_DropConstraint,
    AT_DropConstraintRecurse,
    AT_ReAddComment,
    AT_AlterColumnType,
    AT_AlterColumnGenericOptions,
    AT_ChangeOwner,
    AT_ClusterOn,
    AT_DropCluster,
    AT_SetLogged,
    AT_SetUnLogged,
    AT_DropOids,
    AT_SetTableSpace,
    AT_SetRelOptions,
    AT_ResetRelOptions,
    AT_ReplaceRelOptions,
    AT_EnableTrig,
    AT_EnableAlwaysTrig,
    AT_EnableReplicaTrig,
    AT_DisableTrig,
    AT_EnableTrigAll,
    AT_DisableTrigAll,
    AT_EnableTrigUser,
    AT_DisableTrigUser,
    AT_EnableRule,
    AT_EnableAlwaysRule,
    AT_EnableReplicaRule,
    AT_DisableRule,
    AT_AddInherit,
    AT_DropInherit,
    AT_AddOf,
    AT_DropOf,
    AT_ReplicaIdentity,
    AT_EnableRowSecurity,
    AT_DisableRowSecurity,
    AT_ForceRowSecurity,
    AT_NoForceRowSecurity,
    AT_GenericOptions,
    AT_AttachPartition,
    AT_DetachPartition,
    AT_AddIdentity,
    AT_SetIdentity,
    AT_DropIdentity,
}

Variants

AT_AddColumn
AT_AddColumnRecurse

add column

AT_AddColumnToView

internal to commands/tablecmds.c

AT_ColumnDefault

implicitly via CREATE OR REPLACE VIEW

AT_DropNotNull

alter column default

AT_SetNotNull

alter column drop not null

AT_CheckNotNull

alter column set not null

AT_SetStatistics

check column is already marked not null

AT_SetOptions

alter column set statistics

AT_ResetOptions

alter column set ( options )

AT_SetStorage

alter column reset ( options )

AT_DropColumn

alter column set storage

AT_DropColumnRecurse

drop column

AT_AddIndex

internal to commands/tablecmds.c

AT_ReAddIndex

add index

AT_AddConstraint

internal to commands/tablecmds.c

AT_AddConstraintRecurse

add constraint

AT_ReAddConstraint

internal to commands/tablecmds.c

AT_ReAddDomainConstraint

internal to commands/tablecmds.c

AT_AlterConstraint

internal to commands/tablecmds.c

AT_ValidateConstraint

alter constraint

AT_ValidateConstraintRecurse

validate constraint

AT_ProcessedConstraint

internal to commands/tablecmds.c

AT_AddIndexConstraint

preprocessed add constraint (local in parser/parse_utilcmd.c)

AT_DropConstraint

add constraint using existing index

AT_DropConstraintRecurse

drop constraint

AT_ReAddComment

internal to commands/tablecmds.c

AT_AlterColumnType

internal to commands/tablecmds.c

AT_AlterColumnGenericOptions

alter column type

AT_ChangeOwner

alter column OPTIONS (...)

AT_ClusterOn

change owner

AT_DropCluster

CLUSTER ON

AT_SetLogged

SET WITHOUT CLUSTER

AT_SetUnLogged

SET LOGGED

AT_DropOids

SET UNLOGGED

AT_SetTableSpace

SET WITHOUT OIDS

AT_SetRelOptions

SET TABLESPACE

AT_ResetRelOptions

SET (...) AM specific parameters

AT_ReplaceRelOptions

RESET (...) AM specific parameters

AT_EnableTrig

replace reloption list in its entirety

AT_EnableAlwaysTrig

ENABLE TRIGGER name

AT_EnableReplicaTrig

ENABLE ALWAYS TRIGGER name

AT_DisableTrig

ENABLE REPLICA TRIGGER name

AT_EnableTrigAll

DISABLE TRIGGER name

AT_DisableTrigAll

ENABLE TRIGGER ALL

AT_EnableTrigUser

DISABLE TRIGGER ALL

AT_DisableTrigUser

ENABLE TRIGGER USER

AT_EnableRule

DISABLE TRIGGER USER

AT_EnableAlwaysRule

ENABLE RULE name

AT_EnableReplicaRule

ENABLE ALWAYS RULE name

AT_DisableRule

ENABLE REPLICA RULE name

AT_AddInherit

DISABLE RULE name

AT_DropInherit

INHERIT parent

AT_AddOf

NO INHERIT parent

AT_DropOf

OF <type_name>

AT_ReplicaIdentity

NOT OF

AT_EnableRowSecurity

REPLICA IDENTITY

AT_DisableRowSecurity

ENABLE ROW SECURITY

AT_ForceRowSecurity

DISABLE ROW SECURITY

AT_NoForceRowSecurity

FORCE ROW SECURITY

AT_GenericOptions

NO FORCE ROW SECURITY

AT_AttachPartition

OPTIONS (...)

AT_DetachPartition

ATTACH PARTITION

AT_AddIdentity

DETACH PARTITION

AT_SetIdentity

ADD IDENTITY

AT_DropIdentity

SET identity column options

Trait Implementations

impl Clone for AlterTableType[src]

impl Copy for AlterTableType[src]

impl Debug for AlterTableType[src]

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

impl Eq for AlterTableType[src]

impl Hash for AlterTableType[src]

impl PartialEq<AlterTableType> for AlterTableType[src]

impl Serialize for AlterTableType[src]

impl StructuralEq 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> 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.