From ccd854140689a6cef9ed75825a1239fab695d0c9 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 19 Sep 2008 14:43:47 +0000 Subject: [PATCH] Mark SessionReplicationRole as PGDLLIMPORT so it can be used from Slony functions. Per report from Hiroshi Saito. --- src/include/commands/trigger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h index 7fdf2ee6b2..3820a4e043 100644 --- a/src/include/commands/trigger.h +++ b/src/include/commands/trigger.h @@ -84,7 +84,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' -- 2.39.5