Fix FINCORE_BITS
authorCΓ©dric Villemain <cedric@2ndquadrant.fr>
Sun, 19 Jun 2016 01:49:56 +0000 (03:49 +0200)
committerCΓ©dric Villemain <cedric@2ndquadrant.fr>
Sun, 19 Jun 2016 01:49:56 +0000 (03:49 +0200)
forgot to set it based on HAVE_FINCORE

pgfincore.c

index 6edebdcc0e61284b7c5a0182a95adbe1d0a279bd..668b7364a11d0ab5aec68c0d1fc3d7973b1d18aa 100644 (file)
@@ -60,8 +60,11 @@ PG_MODULE_MAGIC;
 
 #define FINCORE_PRESENT 0x1
 #define FINCORE_DIRTY   0x2
+#ifndef HAVE_FINCORE
+#define FINCORE_BITS    1
+#else
 #define FINCORE_BITS    2
-
+#endif
 /*
  * pgfadvise_fctx structure is needed
  * to keep track of relation path, segment number, ...