Skip to content

Commit 7626f2a

Browse files
committed
Mark SessionReplicationRole as PGDLLIMPORT so it
can be used from Slony functions. Per report from Hiroshi Saito.
1 parent 90d9108 commit 7626f2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/commands/trigger.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/commands/trigger.h,v 1.67 2008/03/28 00:21:56 tgl Exp $
9+
* $PostgreSQL: pgsql/src/include/commands/trigger.h,v 1.68 2008/09/19 14:43:46 mha Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -95,7 +95,7 @@ typedef struct TriggerData
9595
#define SESSION_REPLICATION_ROLE_ORIGIN 0
9696
#define SESSION_REPLICATION_ROLE_REPLICA 1
9797
#define SESSION_REPLICATION_ROLE_LOCAL 2
98-
extern int SessionReplicationRole;
98+
extern PGDLLIMPORT int SessionReplicationRole;
9999

100100
#define TRIGGER_FIRES_ON_ORIGIN 'O'
101101
#define TRIGGER_FIRES_ALWAYS 'A'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy