From: Magnus Hagander Date: Fri, 19 Sep 2008 14:43:47 +0000 (+0000) Subject: Mark SessionReplicationRole as PGDLLIMPORT so it X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=ccd854140689a6cef9ed75825a1239fab695d0c9;p=users%2Fbernd%2Fpostgres.git Mark SessionReplicationRole as PGDLLIMPORT so it can be used from Slony functions. Per report from Hiroshi Saito. --- 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'