]> granicus.if.org Git - postgresql/commitdiff
+ Member for actions in CreateTrigStmt.
authorVadim B. Mikheev <vadim4o@yahoo.com>
Mon, 1 Sep 1997 08:11:57 +0000 (08:11 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Mon, 1 Sep 1997 08:11:57 +0000 (08:11 +0000)
src/include/nodes/parsenodes.h

index 81e635cebad3bf73d567773e30202ff17a19fa70..8492dcde1d870c66dd4ebbdc06b471a58928997a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parsenodes.h,v 1.22 1997/09/01 06:04:59 thomas Exp $
+ * $Id: parsenodes.h,v 1.23 1997/09/01 08:11:57 vadim Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -162,9 +162,10 @@ typedef struct CreateTrigStmt {
     List               *args;          /* list of (T_String) Values or NULL */
     bool               before;         /* BEFORE/AFTER */
     bool               row;            /* ROW/STATEMENT */
+    char               actions[4];     /* Insert, Update, Delete */
     char               *lang;          /* NULL (which means Clanguage) */
     char               *text;          /* AS 'text' */
-    List               *upattr;        /* UPDATE OF a, b,... (NI) or NULL */
+    List               *attr;          /* UPDATE OF a, b,... (NI) or NULL */
     char               *when;          /* WHEN 'a > 10 ...' (NI) or NULL */
 } CreateTrigStmt;