summaryrefslogtreecommitdiff
path: root/config_msvc.h
diff options
context:
space:
mode:
authorSteve Singer2012-01-09 21:32:05 +0000
committerSteve Singer2012-01-09 21:32:05 +0000
commitf1e1117bd985468620cafe464555574a2116e852 (patch)
treee2501adc7410de7d5bb5c8edc6cb37c136d5aaa8 /config_msvc.h
parent34895465094a58cc15b08bca65369a21cfb8a2a2 (diff)
MSVC specific changes for bug #256
Diffstat (limited to 'config_msvc.h')
-rw-r--r--config_msvc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/config_msvc.h b/config_msvc.h
index 85f28b44..92910bac 100644
--- a/config_msvc.h
+++ b/config_msvc.h
@@ -6,14 +6,21 @@
#define SLONY_I_VERSION_STRING "2.2.0"
#define SLONY_I_VERSION_STRING_DEC 2,2,0
-#if PG_VERSION_NUM >= 90000
+#if PG_VERSION_NUM >= 90200
#define HAVE_GETACTIVESNAPSHOT 1
#define HAVE_TYPCACHE 1
+#define SETCONFIGOPTION_7 1
+#elif PG_VERSION_NUM >= 90000
+#define HAVE_GETACTIVESNAPSHOT 1
+#define HAVE_TYPCACHE 1
+#define SETCONFIGOPTION_6 1
#elif PG_VERSION_NUM >= 80400
#define HAVE_GETACTIVESNAPSHOT 1
#define HAVE_TYPCACHE 1
+#define SETCONFIGOPTION_6 1
#elif PG_VERSION_NUM >= 80300
#define HAVE_TYPCACHE 1
+#define SETCONFIGOPTION_6 1
#else
#error "Postgresql 8.3 or higher is required"
#endif