summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2008-09-19 14:43:47 +0000
committerMagnus Hagander2008-09-19 14:43:47 +0000
commit83554c23b818002c924b2b904fe6bebc70f2f317 (patch)
treec8c8f32f8ad4ff9251c6170e29616c34d91c2834
parent6d74dff756354a0e4d02083ac6e5fde0adfc6022 (diff)
Mark SessionReplicationRole as PGDLLIMPORT so it
can be used from Slony functions. Per report from Hiroshi Saito.
-rw-r--r--src/include/commands/trigger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h
index 405ef936ec..9adeb110f7 100644
--- a/src/include/commands/trigger.h
+++ b/src/include/commands/trigger.h
@@ -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'