summaryrefslogtreecommitdiff
path: root/src/include/commands/trigger.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-01-22 19:16:31 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-01-22 19:16:31 +0000
commitc079090bbc8ab43525d07cbd9572a3b0a76051aa (patch)
treeeb11a7fb3697fd2480f7aed98d402acb12fcb7b3 /src/include/commands/trigger.h
parentdd7e54a17ffed5767cd9af175024c60df2b1951c (diff)
Update comments to reflect that tgenabled is not a boolean anymore.
Jonah Harris, with minor tinkering by me.
Diffstat (limited to 'src/include/commands/trigger.h')
-rw-r--r--src/include/commands/trigger.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h
index 50f11078a50..0b0c6c22323 100644
--- a/src/include/commands/trigger.h
+++ b/src/include/commands/trigger.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/commands/trigger.h,v 1.70 2009/01/01 17:23:58 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/commands/trigger.h,v 1.71 2009/01/22 19:16:31 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -95,6 +95,10 @@ typedef struct TriggerData
#define SESSION_REPLICATION_ROLE_LOCAL 2
extern PGDLLIMPORT int SessionReplicationRole;
+/*
+ * States at which a trigger can be fired. These are the
+ * possible values for pg_trigger.tgenabled.
+ */
#define TRIGGER_FIRES_ON_ORIGIN 'O'
#define TRIGGER_FIRES_ALWAYS 'A'
#define TRIGGER_FIRES_ON_REPLICA 'R'