@@ -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} ;
@@ -3614,6 +3614,12 @@ pub enum Statement {
36143614 /// <https://www.postgresql.org/docs/current/sql-dropoperator.html>
36153615 DropOperator ( DropOperator ) ,
36163616 /// ```sql
3617+ /// DROP OPERATOR FAMILY [ IF EXISTS ] name USING index_method [ CASCADE | RESTRICT ]
3618+ /// ```
3619+ /// Note: this is a PostgreSQL-specific statement.
3620+ /// <https://www.postgresql.org/docs/current/sql-dropopfamily.html>
3621+ DropOperatorFamily ( DropOperatorFamily ) ,
3622+ /// ```sql
36173623 /// FETCH
36183624 /// ```
36193625 /// Retrieve rows from a query using a cursor
@@ -4878,6 +4884,9 @@ impl fmt::Display for Statement {
48784884 Statement :: CreateExtension ( create_extension) => write ! ( f, "{create_extension}" ) ,
48794885 Statement :: DropExtension ( drop_extension) => write ! ( f, "{drop_extension}" ) ,
48804886 Statement :: DropOperator ( drop_operator) => write ! ( f, "{drop_operator}" ) ,
4887+ Statement :: DropOperatorFamily ( drop_operator_family) => {
4888+ write ! ( f, "{drop_operator_family}" )
4889+ }
48814890 Statement :: CreateRole ( create_role) => write ! ( f, "{create_role}" ) ,
48824891 Statement :: CreateSecret {
48834892 or_replace,
0 commit comments