]> granicus.if.org Git - postgresql/commitdiff
PGDLLIMPORT-ify old_snapshot_threshold.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Apr 2016 18:33:34 +0000 (14:33 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Apr 2016 18:33:34 +0000 (14:33 -0400)
Revert commit 7cb1db1d9599f0a09d6920d2149d956ef6d88b0e, which represented
a misunderstanding of the problem (if snapmgr.h weren't already included
in bufmgr.h, things wouldn't compile anywhere).  Instead install what
I think is the real fix.

contrib/bloom/blscan.c
src/include/utils/snapmgr.h

index 12b15b69c9b83193edc89a3c0a38b28905988a29..fc82f543738952033fc8b26cdb7a17914e6e3587 100644 (file)
@@ -19,7 +19,6 @@
 #include "storage/lmgr.h"
 #include "utils/memutils.h"
 #include "utils/rel.h"
-#include "utils/snapmgr.h"
 
 #include "bloom.h"
 
index 371042a6077069f51a1a0d39fe0391ba78d46dcc..6a80f0ba5508d09586e8238d060c19a447ba4e28 100644 (file)
@@ -20,7 +20,7 @@
 
 
 /* GUC variables */
-extern int     old_snapshot_threshold;
+extern PGDLLIMPORT int old_snapshot_threshold;
 
 
 extern Size SnapMgrShmemSize(void);