From 54a278683531edac535e6aa4d5427799409823f1 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 21 Feb 2013 09:28:42 -0500 Subject: Need to decorate XactIsoLevel as PGDLLIMPORT for postgres_fdw. Per buildfarm. --- contrib/postgres_fdw/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/postgres_fdw/connection.c') 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"; -- cgit v1.2.3