From 56018bf26eec1a0b4bf20303c98065a8eb1b0c5d Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Thu, 9 Mar 2017 22:55:46 -0500
Subject: [PATCH] contrib/amcheck needs RecentGlobalXmin to be
 PGDLLIMPORT'ified.

Per buildfarm.  Maybe some of the other xmin variables in snapmgr.h
ought to get this too, but for the moment I'm just interested in
un-breaking the buildfarm.
---
 src/include/utils/snapmgr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/utils/snapmgr.h b/src/include/utils/snapmgr.h
index ab953669bf2..86c48d9c8ef 100644
--- a/src/include/utils/snapmgr.h
+++ b/src/include/utils/snapmgr.h
@@ -58,7 +58,7 @@ extern bool FirstSnapshotSet;
 
 extern TransactionId TransactionXmin;
 extern TransactionId RecentXmin;
-extern TransactionId RecentGlobalXmin;
+extern PGDLLIMPORT TransactionId RecentGlobalXmin;
 extern TransactionId RecentGlobalDataXmin;
 
 extern Snapshot GetTransactionSnapshot(void);
-- 
GitLab