diff --git a/src/include/config.h b/src/include/config.h
index b76624963d137df6582eba719f523e0b2a77c4b5..e8a5e25a39da167796b73954d06a01c52087ce55 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -47,6 +47,8 @@
 #define ESCAPE_PATCH
 #define ARRAY_PATCH
 
+/* Fixes use of indexes infunctions */
+#define INDEXSCAN_PATCH 
 
 /* found in src/backend/utils/adt/date.c */
 /* #define DATEDEBUG */