Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit54a2786

Browse files
committed
Need to decorate XactIsoLevel as PGDLLIMPORT for postgres_fdw.
Per buildfarm.
1 parent699d70b commit54a2786

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
#defineXACT_SERIALIZABLE3
2929

3030
externintDefaultXactIsoLevel;
31-
externintXactIsoLevel;
31+
externPGDLLIMPORTintXactIsoLevel;
3232

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp