@@ -67,13 +67,13 @@ pub use self::ddl::{
6767 ColumnPolicyProperty , ConstraintCharacteristics , CreateConnector , CreateDomain ,
6868 CreateExtension , CreateFunction , CreateIndex , CreateOperator , CreateOperatorClass ,
6969 CreateOperatorFamily , CreateTable , CreateTrigger , CreateView , Deduplicate , DeferrableInitial ,
70- DropBehavior , DropExtension , DropFunction , DropOperator , DropOperatorSignature , DropTrigger ,
71- GeneratedAs , GeneratedExpressionMode , IdentityParameters , IdentityProperty ,
72- IdentityPropertyFormatKind , IdentityPropertyKind , IdentityPropertyOrder , IndexColumn ,
73- IndexOption , IndexType , KeyOrIndexDisplay , Msck , NullsDistinctOption , OperatorArgTypes ,
74- OperatorClassItem , OperatorPurpose , Owner , Partition , ProcedureParam , ReferentialAction ,
75- RenameTableNameKind , ReplicaIdentity , TagsColumnOption , TriggerObjectKind , Truncate ,
76- UserDefinedTypeCompositeAttributeDef , UserDefinedTypeInternalLength ,
70+ DropBehavior , DropExtension , DropFunction , DropOperator , DropOperatorFamily ,
71+ DropOperatorSignature , DropTrigger , GeneratedAs , GeneratedExpressionMode , IdentityParameters ,
72+ IdentityProperty , IdentityPropertyFormatKind , IdentityPropertyKind , IdentityPropertyOrder ,
73+ IndexColumn , IndexOption , IndexType , KeyOrIndexDisplay , Msck , NullsDistinctOption ,
74+ OperatorArgTypes , OperatorClassItem , OperatorPurpose , Owner , Partition , ProcedureParam ,
75+ ReferentialAction , RenameTableNameKind , ReplicaIdentity , TagsColumnOption , TriggerObjectKind ,
76+ Truncate , UserDefinedTypeCompositeAttributeDef , UserDefinedTypeInternalLength ,
7777 UserDefinedTypeRangeOption , UserDefinedTypeRepresentation , UserDefinedTypeSqlDefinitionOption ,
7878 UserDefinedTypeStorage , ViewColumnDef ,
7979} ;
@@ -3567,6 +3567,12 @@ pub enum Statement {
35673567 /// <https://www.postgresql.org/docs/current/sql-dropoperator.html>
35683568 DropOperator ( DropOperator ) ,
35693569 /// ```sql
3570+ /// DROP OPERATOR FAMILY [ IF EXISTS ] name USING index_method [ CASCADE | RESTRICT ]
3571+ /// ```
3572+ /// Note: this is a PostgreSQL-specific statement.
3573+ /// <https://www.postgresql.org/docs/current/sql-dropopfamily.html>
3574+ DropOperatorFamily ( DropOperatorFamily ) ,
3575+ /// ```sql
35703576 /// FETCH
35713577 /// ```
35723578 /// Retrieve rows from a query using a cursor
@@ -4794,6 +4800,9 @@ impl fmt::Display for Statement {
47944800 Statement :: CreateExtension ( create_extension) => write ! ( f, "{create_extension}" ) ,
47954801 Statement :: DropExtension ( drop_extension) => write ! ( f, "{drop_extension}" ) ,
47964802 Statement :: DropOperator ( drop_operator) => write ! ( f, "{drop_operator}" ) ,
4803+ Statement :: DropOperatorFamily ( drop_operator_family) => {
4804+ write ! ( f, "{drop_operator_family}" )
4805+ }
47974806 Statement :: CreateRole ( create_role) => write ! ( f, "{create_role}" ) ,
47984807 Statement :: CreateSecret {
47994808 or_replace,
0 commit comments