|
9 | 9 | * |
10 | 10 | * |
11 | 11 | * IDENTIFICATION |
12 | | - * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.20 1997/08/18 20:53:35 momjian Exp $ |
| 12 | + * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.21 1997/08/31 11:41:55 vadim Exp $ |
13 | 13 | * |
14 | 14 | *------------------------------------------------------------------------- |
15 | 15 | */ |
|
34 | 34 | #include"commands/vacuum.h" |
35 | 35 | #include"commands/recipe.h" |
36 | 36 | #include"commands/explain.h" |
| 37 | +#include"commands/trigger.h" |
37 | 38 |
|
38 | 39 | #include"nodes/parsenodes.h" |
39 | 40 | #include"../backend/parser/parse.h" |
@@ -668,6 +669,23 @@ ProcessUtility(Node *parsetree, |
668 | 669 | commandTag="RESET VARIABLE"; |
669 | 670 | } |
670 | 671 | break; |
| 672 | + |
| 673 | +/* ******************************** |
| 674 | + * TRIGGER statements |
| 675 | + *********************************/ |
| 676 | +caseT_CreateTrigStmt: |
| 677 | +commandTag="CREATE"; |
| 678 | +CHECK_IF_ABORTED(); |
| 679 | + |
| 680 | +CreateTrigger((CreateTrigStmt*)parsetree); |
| 681 | +break; |
| 682 | + |
| 683 | +caseT_DropTrigStmt: |
| 684 | +commandTag="DROP"; |
| 685 | +CHECK_IF_ABORTED(); |
| 686 | + |
| 687 | +DropTrigger((DropTrigStmt*)parsetree); |
| 688 | +break; |
671 | 689 |
|
672 | 690 | /* ******************************** |
673 | 691 | *default |
|