Commit 54a27868 authored by Tom Lane's avatar Tom Lane

Need to decorate XactIsoLevel as PGDLLIMPORT for postgres_fdw.

Per buildfarm.
parent 699d70b2
...@@ -305,7 +305,7 @@ begin_remote_xact(ConnCacheEntry *entry) ...@@ -305,7 +305,7 @@ begin_remote_xact(ConnCacheEntry *entry)
elog(DEBUG3, "starting remote transaction on connection %p", elog(DEBUG3, "starting remote transaction on connection %p",
entry->conn); entry->conn);
if (XactIsoLevel == XACT_SERIALIZABLE) if (IsolationIsSerializable())
sql = "START TRANSACTION ISOLATION LEVEL SERIALIZABLE"; sql = "START TRANSACTION ISOLATION LEVEL SERIALIZABLE";
else else
sql = "START TRANSACTION ISOLATION LEVEL REPEATABLE READ"; sql = "START TRANSACTION ISOLATION LEVEL REPEATABLE READ";
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#define XACT_SERIALIZABLE 3 #define XACT_SERIALIZABLE 3
extern int DefaultXactIsoLevel; extern int DefaultXactIsoLevel;
extern int XactIsoLevel; extern PGDLLIMPORT int XactIsoLevel;
/* /*
* We implement three isolation levels internally. * We implement three isolation levels internally.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment