Commit 502f6f38 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

CREATE/DROP TRIGGER

parent d65584d2
......@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.20 1997/08/18 20:53:35 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.21 1997/08/31 11:41:55 vadim Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -34,6 +34,7 @@
#include "commands/vacuum.h"
#include "commands/recipe.h"
#include "commands/explain.h"
#include "commands/trigger.h"
#include "nodes/parsenodes.h"
#include "../backend/parser/parse.h"
......@@ -668,6 +669,23 @@ ProcessUtility(Node *parsetree,
commandTag = "RESET VARIABLE";
}
break;
/* ********************************
* TRIGGER statements
*********************************/
case T_CreateTrigStmt:
commandTag = "CREATE";
CHECK_IF_ABORTED();
CreateTrigger((CreateTrigStmt *)parsetree);
break;
case T_DropTrigStmt:
commandTag = "DROP";
CHECK_IF_ABORTED();
DropTrigger((DropTrigStmt *)parsetree);
break;
/* ********************************
* default
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment