1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Need to decorate XactIsoLevel as PGDLLIMPORT for postgres_fdw.

Per buildfarm.
This commit is contained in:
Tom Lane
2013-02-21 09:28:42 -05:00
parent 699d70b2ec
commit 54a2786835
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -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.