Commit 31a8996b authored by Jan Wieck's avatar Jan Wieck

Inconsistency in CREATE CONSTRAINT TRIGGER with the

actions performed by analyse.c when creating table constraints.

Jan
parent 83fd594a
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.137 2000/01/29 16:58:37 petere Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.138 2000/02/02 20:54:17 wieck Exp $
* *
* HISTORY * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -1501,8 +1501,7 @@ CreateTrigStmt: CREATE TRIGGER name TriggerActionTime TriggerEvents ON ...@@ -1501,8 +1501,7 @@ CreateTrigStmt: CREATE TRIGGER name TriggerActionTime TriggerEvents ON
n->args = $18; n->args = $18;
n->before = false; n->before = false;
n->row = true; n->row = true;
n->actions[0] = $6; memcpy (n->actions, $6, 4);
n->actions[1] = '\0';
n->lang = NULL; /* unused */ n->lang = NULL; /* unused */
n->text = NULL; /* unused */ n->text = NULL; /* unused */
n->attr = NULL; /* unused */ n->attr = NULL; /* unused */
......
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