Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit502f6f3

Browse files
committed
CREATE/DROP TRIGGER
1 parentd65584d commit502f6f3

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

‎src/backend/tcop/utility.c

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* 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 $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -34,6 +34,7 @@
3434
#include"commands/vacuum.h"
3535
#include"commands/recipe.h"
3636
#include"commands/explain.h"
37+
#include"commands/trigger.h"
3738

3839
#include"nodes/parsenodes.h"
3940
#include"../backend/parser/parse.h"
@@ -668,6 +669,23 @@ ProcessUtility(Node *parsetree,
668669
commandTag="RESET VARIABLE";
669670
}
670671
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;
671689

672690
/* ********************************
673691
*default

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp