diff options
author | Magnus Hagander <magnus@hagander.net> | 2008-09-19 14:43:47 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2008-09-19 14:43:47 +0000 |
commit | 4f792e7e3fd330aa71653f5fda510a921e4cc8cb (patch) | |
tree | 232d60b4625c1f59de49e88a64197910b9ff2a02 /src/include/commands/trigger.h | |
parent | 63aa5e3527602714e364803cc019516a5476bc75 (diff) |
Mark SessionReplicationRole as PGDLLIMPORT so it
can be used from Slony functions.
Per report from Hiroshi Saito.
Diffstat (limited to 'src/include/commands/trigger.h')
-rw-r--r-- | src/include/commands/trigger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h index 5e0dda4744d..27bb6e93c75 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.66 2008/01/02 23:34:42 tgl Exp $ + * $PostgreSQL: pgsql/src/include/commands/trigger.h,v 1.66.2.1 2008/09/19 14:43:47 mha Exp $ * *------------------------------------------------------------------------- */ @@ -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' |