aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/config.h b/src/include/config.h
index e8a5e25a39d..d75c21961ee 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -65,5 +65,17 @@
/*------------------------------------------------------*/
/* #define UNSAFE_FLOATS */
+/*
+
+There is a bug in the function executor. The backend crashes while trying to
+execute an sql function containing an utility command (create, notify, ...).
+The bug is part in the planner, which returns a number of plans different
+than the number of commands if there are utility commands in the query, and
+in part in the function executor which assumes that all commands are normal
+query commands and causes a SIGSEGV trying to execute commands without plan.
+
+*/
+#define FUNC_UTIL_PATCH
+
#endif /* CONFIG_H */