Skip to content

Commit 54a2786

Browse files
committed
Need to decorate XactIsoLevel as PGDLLIMPORT for postgres_fdw.
Per buildfarm.
1 parent 699d70b commit 54a2786

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/postgres_fdw/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ begin_remote_xact(ConnCacheEntry *entry)
305305
elog(DEBUG3, "starting remote transaction on connection %p",
306306
entry->conn);
307307

308-
if (XactIsoLevel == XACT_SERIALIZABLE)
308+
if (IsolationIsSerializable())
309309
sql = "START TRANSACTION ISOLATION LEVEL SERIALIZABLE";
310310
else
311311
sql = "START TRANSACTION ISOLATION LEVEL REPEATABLE READ";

src/include/access/xact.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define XACT_SERIALIZABLE 3
2929

3030
extern int DefaultXactIsoLevel;
31-
extern int XactIsoLevel;
31+
extern PGDLLIMPORT int XactIsoLevel;
3232

3333
/*
3434
* We implement three isolation levels internally.

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