aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2008-09-19 14:43:46 +0000
committerMagnus Hagander <magnus@hagander.net>2008-09-19 14:43:46 +0000
commit7626f2a9369d38f5015c7506e9df4567ee26abce (patch)
tree0998bb7a89df7c7fee4f9fbb652b663f5ba56af7
parent90d910866e44ac009028dc75747f1463db8c528d (diff)
downloadpostgresql-7626f2a9369d38f5015c7506e9df4567ee26abce.tar.gz
postgresql-7626f2a9369d38f5015c7506e9df4567ee26abce.zip
Mark SessionReplicationRole as PGDLLIMPORT so it
can be used from Slony functions. Per report from Hiroshi Saito.
-rw-r--r--src/include/commands/trigger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h
index 174b6507d1a..ae4f9997765 100644
--- a/src/include/commands/trigger.h
+++ b/src/include/commands/trigger.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/commands/trigger.h,v 1.67 2008/03/28 00:21:56 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/commands/trigger.h,v 1.68 2008/09/19 14:43:46 mha Exp $
*
*-------------------------------------------------------------------------
*/
@@ -95,7 +95,7 @@ typedef struct TriggerData
#define SESSION_REPLICATION_ROLE_ORIGIN 0
#define SESSION_REPLICATION_ROLE_REPLICA 1
#define SESSION_REPLICATION_ROLE_LOCAL 2
-extern int SessionReplicationRole;
+extern PGDLLIMPORT int SessionReplicationRole;
#define TRIGGER_FIRES_ON_ORIGIN 'O'
#define TRIGGER_FIRES_ALWAYS 'A'