From: Tom Lane Date: Fri, 10 Mar 2017 03:55:46 +0000 (-0500) Subject: contrib/amcheck needs RecentGlobalXmin to be PGDLLIMPORT'ified. X-Git-Tag: REL_10_BETA1~697 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56018bf26eec1a0b4bf20303c98065a8eb1b0c5d;p=postgresql 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. --- diff --git a/src/include/utils/snapmgr.h b/src/include/utils/snapmgr.h index ab953669bf..86c48d9c8e 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);