aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/connection.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-02-21 09:28:42 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-02-21 09:28:42 -0500
commit54a278683531edac535e6aa4d5427799409823f1 (patch)
treec5ca070c91f1b751c3362646f9be7ee84698c721 /contrib/postgres_fdw/connection.c
parent699d70b2ec2cb6dc07f6c5b2876609301ddd20a8 (diff)
downloadpostgresql-54a278683531edac535e6aa4d5427799409823f1.tar.gz
postgresql-54a278683531edac535e6aa4d5427799409823f1.zip
Need to decorate XactIsoLevel as PGDLLIMPORT for postgres_fdw.
Per buildfarm.
Diffstat (limited to 'contrib/postgres_fdw/connection.c')
-rw-r--r--contrib/postgres_fdw/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/postgres_fdw/connection.c b/contrib/postgres_fdw/connection.c
index 62ccea4c460..0e54901061c 100644
--- a/contrib/postgres_fdw/connection.c
+++ b/contrib/postgres_fdw/connection.c
@@ -305,7 +305,7 @@ begin_remote_xact(ConnCacheEntry *entry)
elog(DEBUG3, "starting remote transaction on connection %p",
entry->conn);
- if (XactIsoLevel == XACT_SERIALIZABLE)
+ if (IsolationIsSerializable())
sql = "START TRANSACTION ISOLATION LEVEL SERIALIZABLE";
else
sql = "START TRANSACTION ISOLATION LEVEL REPEATABLE READ";