projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fc48ed
)
Mark SessionReplicationRole as PGDLLIMPORT so it
author
Magnus Hagander
<
[email protected]
>
Fri, 19 Sep 2008 14:43:47 +0000
(14:43 +0000)
committer
Magnus Hagander
<
[email protected]
>
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 7fdf2ee6b2ef39e0fb3f1d9e671203f8647280c1..3820a4e04392806ad936f57c4bfad06ffa0a558b 100644
(file)
--- 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'