Content-Length: 285556 | pFad | http://github.com/postgrespro/postgres/commit/54a278683531edac535e6aa4d5427799409823f1

CA Need to decorate XactIsoLevel as PGDLLIMPORT for postgres_fdw. · postgrespro/postgres@54a2786 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/54a278683531edac535e6aa4d5427799409823f1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy