@@ -60,22 +60,22 @@ pub use self::dcl::{
6060} ;
6161pub use self :: ddl:: {
6262 Alignment , AlterColumnOperation , AlterConnectorOwner , AlterIndexOperation , AlterOperator ,
63- AlterOperatorFamily , AlterOperatorFamilyOperation , AlterOperatorOperation ,
64- AlterPolicyOperation , AlterSchema , AlterSchemaOperation , AlterTable , AlterTableAlgorithm ,
65- AlterTableLock , AlterTableOperation , AlterTableType , AlterType , AlterTypeAddValue ,
66- AlterTypeAddValuePosition , AlterTypeOperation , AlterTypeRename , AlterTypeRenameValue ,
67- ClusteredBy , ColumnDef , ColumnOption , ColumnOptionDef , ColumnOptions , ColumnPolicy ,
68- ColumnPolicyProperty , ConstraintCharacteristics , CreateConnector , CreateDomain ,
69- CreateExtension , CreateFunction , CreateIndex , CreateOperator , CreateOperatorClass ,
70- CreateOperatorFamily , CreateTable , CreateTrigger , CreateView , Deduplicate , DeferrableInitial ,
71- DropBehavior , DropExtension , DropFunction , DropOperator , DropOperatorClass , DropOperatorFamily ,
72- DropOperatorSignature , DropTrigger , GeneratedAs , GeneratedExpressionMode , IdentityParameters ,
73- IdentityProperty , IdentityPropertyFormatKind , IdentityPropertyKind , IdentityPropertyOrder ,
74- IndexColumn , IndexOption , IndexType , KeyOrIndexDisplay , Msck , NullsDistinctOption ,
75- OperatorArgTypes , OperatorClassItem , OperatorFamilyDropItem , OperatorFamilyItem ,
76- OperatorOption , OperatorPurpose , Owner , Partition , ProcedureParam , ReferentialAction ,
77- RenameTableNameKind , ReplicaIdentity , TagsColumnOption , TriggerObjectKind , Truncate ,
78- UserDefinedTypeCompositeAttributeDef , UserDefinedTypeInternalLength ,
63+ AlterOperatorClass , AlterOperatorClassOperation , AlterOperatorFamily ,
64+ AlterOperatorFamilyOperation , AlterOperatorOperation , AlterPolicyOperation , AlterSchema ,
65+ AlterSchemaOperation , AlterTable , AlterTableAlgorithm , AlterTableLock , AlterTableOperation ,
66+ AlterTableType , AlterType , AlterTypeAddValue , AlterTypeAddValuePosition , AlterTypeOperation ,
67+ AlterTypeRename , AlterTypeRenameValue , ClusteredBy , ColumnDef , ColumnOption , ColumnOptionDef ,
68+ ColumnOptions , ColumnPolicy , ColumnPolicyProperty , ConstraintCharacteristics , CreateConnector ,
69+ CreateDomain , CreateExtension , CreateFunction , CreateIndex , CreateOperator ,
70+ CreateOperatorClass , CreateOperatorFamily , CreateTable , CreateTrigger , CreateView , Deduplicate ,
71+ DeferrableInitial , DropBehavior , DropExtension , DropFunction , DropOperator , DropOperatorClass ,
72+ DropOperatorFamily , DropOperatorSignature , DropTrigger , GeneratedAs , GeneratedExpressionMode ,
73+ IdentityParameters , IdentityProperty , IdentityPropertyFormatKind , IdentityPropertyKind ,
74+ IdentityPropertyOrder , IndexColumn , IndexOption , IndexType , KeyOrIndexDisplay , Msck ,
75+ NullsDistinctOption , OperatorArgTypes , OperatorClassItem , OperatorFamilyDropItem ,
76+ OperatorFamilyItem , OperatorOption , OperatorPurpose , Owner , Partition , ProcedureParam ,
77+ ReferentialAction , RenameTableNameKind , ReplicaIdentity , TagsColumnOption , TriggerObjectKind ,
78+ Truncate , UserDefinedTypeCompositeAttributeDef , UserDefinedTypeInternalLength ,
7979 UserDefinedTypeRangeOption , UserDefinedTypeRepresentation , UserDefinedTypeSqlDefinitionOption ,
8080 UserDefinedTypeStorage , ViewColumnDef ,
8181} ;
@@ -3418,6 +3418,11 @@ pub enum Statement {
34183418 /// See [PostgreSQL](https://www.postgresql.org/docs/current/sql-alteropfamily.html)
34193419 AlterOperatorFamily ( AlterOperatorFamily ) ,
34203420 /// ```sql
3421+ /// ALTER OPERATOR CLASS
3422+ /// ```
3423+ /// See [PostgreSQL](https://www.postgresql.org/docs/current/sql-alteropclass.html)
3424+ AlterOperatorClass ( AlterOperatorClass ) ,
3425+ /// ```sql
34213426 /// ALTER ROLE
34223427 /// ```
34233428 AlterRole {
@@ -4982,6 +4987,9 @@ impl fmt::Display for Statement {
49824987 Statement :: AlterOperatorFamily ( alter_operator_family) => {
49834988 write ! ( f, "{alter_operator_family}" )
49844989 }
4990+ Statement :: AlterOperatorClass ( alter_operator_class) => {
4991+ write ! ( f, "{alter_operator_class}" )
4992+ }
49854993 Statement :: AlterRole { name, operation } => {
49864994 write ! ( f, "ALTER ROLE {name} {operation}" )
49874995 }
0 commit comments