diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-21 14:33:34 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-21 14:33:34 -0400 |
commit | 14216649f3dc8bd9839702440dd593e958b0920b (patch) | |
tree | bd839d0909deb69b4dcd147eee9b02828a612dfb | |
parent | 1f7c85b820814810f985a270e92cde4c12ceded4 (diff) | |
download | postgresql-14216649f3dc8bd9839702440dd593e958b0920b.tar.gz postgresql-14216649f3dc8bd9839702440dd593e958b0920b.zip |
PGDLLIMPORT-ify old_snapshot_threshold.
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.
-rw-r--r-- | contrib/bloom/blscan.c | 1 | ||||
-rw-r--r-- | src/include/utils/snapmgr.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/contrib/bloom/blscan.c b/contrib/bloom/blscan.c index 12b15b69c9b..fc82f543738 100644 --- a/contrib/bloom/blscan.c +++ b/contrib/bloom/blscan.c @@ -19,7 +19,6 @@ #include "storage/lmgr.h" #include "utils/memutils.h" #include "utils/rel.h" -#include "utils/snapmgr.h" #include "bloom.h" diff --git a/src/include/utils/snapmgr.h b/src/include/utils/snapmgr.h index 371042a6077..6a80f0ba550 100644 --- a/src/include/utils/snapmgr.h +++ b/src/include/utils/snapmgr.h @@ -20,7 +20,7 @@ /* GUC variables */ -extern int old_snapshot_threshold; +extern PGDLLIMPORT int old_snapshot_threshold; extern Size SnapMgrShmemSize(void); |