@@ -272,7 +272,7 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
272
272
CreateAssertionStmt CreateTransformStmt CreateTrigStmt CreateEventTrigStmt
273
273
CreateUserStmt CreateUserMappingStmt CreateRoleStmt CreatePolicyStmt
274
274
CreatedbStmt DeclareCursorStmt DefineStmt DeleteStmt DiscardStmt DoStmt
275
- DropOpClassStmt DropOpFamilyStmt DropPLangStmt DropStmt
275
+ DropOpClassStmt DropOpFamilyStmt DropStmt
276
276
DropCastStmt DropRoleStmt
277
277
DropdbStmt DropTableSpaceStmt
278
278
DropTransformStmt
@@ -921,7 +921,6 @@ stmt :
921
921
| DropOpClassStmt
922
922
| DropOpFamilyStmt
923
923
| DropOwnedStmt
924
- | DropPLangStmt
925
924
| DropStmt
926
925
| DropSubscriptionStmt
927
926
| DropTableSpaceStmt
@@ -4404,29 +4403,6 @@ opt_validator:
4404
4403
| /* EMPTY*/ {$$ = NIL; }
4405
4404
;
4406
4405
4407
- DropPLangStmt :
4408
- DROP opt_procedural LANGUAGE name opt_drop_behavior
4409
- {
4410
- DropStmt *n = makeNode(DropStmt);
4411
- n->removeType = OBJECT_LANGUAGE;
4412
- n->objects = list_make1(makeString($4 ));
4413
- n->behavior =$5 ;
4414
- n->missing_ok =false ;
4415
- n->concurrent =false ;
4416
- $$ = (Node *)n;
4417
- }
4418
- | DROP opt_procedural LANGUAGE IF_P EXISTS name opt_drop_behavior
4419
- {
4420
- DropStmt *n = makeNode(DropStmt);
4421
- n->removeType = OBJECT_LANGUAGE;
4422
- n->objects = list_make1(makeString($6 ));
4423
- n->behavior =$7 ;
4424
- n->missing_ok =true ;
4425
- n->concurrent =false ;
4426
- $$ = (Node *)n;
4427
- }
4428
- ;
4429
-
4430
4406
opt_procedural :
4431
4407
PROCEDURAL {}
4432
4408
| /* EMPTY*/ {}
@@ -6359,6 +6335,7 @@ drop_type_name:
6359
6335
| EVENT TRIGGER {$$ = OBJECT_EVENT_TRIGGER; }
6360
6336
| EXTENSION {$$ = OBJECT_EXTENSION; }
6361
6337
| FOREIGN DATA_P WRAPPER {$$ = OBJECT_FDW; }
6338
+ | opt_procedural LANGUAGE {$$ = OBJECT_LANGUAGE; }
6362
6339
| PUBLICATION {$$ = OBJECT_PUBLICATION; }
6363
6340
| SCHEMA {$$ = OBJECT_SCHEMA; }
6364
6341
| SERVER {$$ = OBJECT_FOREIGN_SERVER; }