mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Enable FUNC_UTIL_PATCH by default
This commit is contained in:
@@ -65,5 +65,17 @@
|
|||||||
/*------------------------------------------------------*/
|
/*------------------------------------------------------*/
|
||||||
/* #define UNSAFE_FLOATS */
|
/* #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 */
|
#endif /* CONFIG_H */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user