mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Un-break triggers declared for INSERT OR DELETE OR UPDATE. This worked
okay in 7.3, so I think it must have been busted in the recent triggers patch.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: parsenodes.h,v 1.217 2002/11/23 03:59:09 momjian Exp $
|
||||
* $Id: parsenodes.h,v 1.218 2002/11/25 03:36:50 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1048,7 +1048,7 @@ typedef struct CreateTrigStmt
|
||||
List *args; /* list of (T_String) Values or NIL */
|
||||
bool before; /* BEFORE/AFTER */
|
||||
bool row; /* ROW/STATEMENT */
|
||||
char actions[3]; /* Insert, Update, Delete */
|
||||
char actions[4]; /* 1 to 3 of 'i', 'u', 'd', + trailing \0 */
|
||||
|
||||
/* The following are used for referential */
|
||||
/* integrity constraint triggers */
|
||||
|
||||
Reference in New Issue
Block a user