From df6ca83a5b59c3825d04089c16ef376c2bac3039 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Mon, 16 Sep 1996 05:39:04 +0000 Subject: [PATCH] Enable FUNC_UTIL_PATCH by default --- src/include/config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/include/config.h b/src/include/config.h index e8a5e25a39..d75c21961e 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 */ -- 2.11.0