projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d74dff
)
Mark SessionReplicationRole as PGDLLIMPORT so it
author
Magnus Hagander
<magnus@hagander.net>
Fri, 19 Sep 2008 14:43:47 +0000
(14:43 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Fri, 19 Sep 2008 14:43:47 +0000
(14:43 +0000)
can be used from Slony functions.
Per report from Hiroshi Saito.
src/include/commands/trigger.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/commands/trigger.h
b/src/include/commands/trigger.h
index 405ef936ecf3e1222832fa02f4f734f5a14c0d00..9adeb110f775603a980c523fbaf6dbd4cdaf1d5a 100644
(file)
--- 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'