diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-28 00:21:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-28 00:21:56 +0000 |
commit | 7692d8d5b72f510bd84f708d0a8e53c548f71adc (patch) | |
tree | 2db349ab412c7353734bfd232fbba8c5261913a0 /src/include/utils/rel.h | |
parent | 107b3d0c23b52cf20b705d00200211d8cc341f52 (diff) |
Support statement-level ON TRUNCATE triggers. Simon Riggs
Diffstat (limited to 'src/include/utils/rel.h')
-rw-r--r-- | src/include/utils/rel.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index 340b24a77f3..f7d46193de5 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.104 2008/01/01 19:45:59 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.105 2008/03/28 00:21:56 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -71,9 +71,10 @@ typedef struct TriggerDesc /* * Index data to identify which triggers are which. Since each trigger * can appear in more than one class, for each class we provide a list of - * integer indexes into the triggers array. + * integer indexes into the triggers array. The class codes are defined + * by TRIGGER_EVENT_xxx macros in commands/trigger.h. */ -#define TRIGGER_NUM_EVENT_CLASSES 3 +#define TRIGGER_NUM_EVENT_CLASSES 4 uint16 n_before_statement[TRIGGER_NUM_EVENT_CLASSES]; uint16 n_before_row[TRIGGER_NUM_EVENT_CLASSES]; |