From: Marc G. Fournier Date: Mon, 16 Sep 1996 05:39:04 +0000 (+0000) Subject: Enable FUNC_UTIL_PATCH by default X-Git-Tag: REL2_0~585 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df6ca83a5b59c3825d04089c16ef376c2bac3039;p=thirdparty%2Fpostgresql.git Enable FUNC_UTIL_PATCH by default --- 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 */