Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 31a8996

Browse files
Jan WieckJan Wieck
Jan Wieck
authored and
Jan Wieck
committed
Inconsistency in CREATE CONSTRAINT TRIGGER with the
actions performed by analyse.c when creating table constraints. Jan
1 parent 83fd594 commit 31a8996

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/backend/parser/gram.y

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.137 2000/01/29 16:58:37 petere Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.138 2000/02/02 20:54:17 wieck Exp $
1515
*
1616
* HISTORY
1717
* AUTHOR DATE MAJOR EVENT
@@ -1501,8 +1501,7 @@ CreateTrigStmt: CREATE TRIGGER name TriggerActionTime TriggerEvents ON
15011501
n->args = $18;
15021502
n->before = false;
15031503
n->row = true;
1504-
n->actions[0] = $6;
1505-
n->actions[1] = '\0';
1504+
memcpy (n->actions, $6, 4);
15061505
n->lang = NULL; /* unused */
15071506
n->text = NULL; /* unused */
15081507
n->attr = NULL; /* unused */

0 commit comments

Comments
 (0)