Skip to content

Commit df6ca83

Browse files
committed
Enable FUNC_UTIL_PATCH by default
1 parent 906651f commit df6ca83

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/include/config.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,17 @@
6565
/*------------------------------------------------------*/
6666
/* #define UNSAFE_FLOATS */
6767

68+
/*
69+
70+
There is a bug in the function executor. The backend crashes while trying to
71+
execute an sql function containing an utility command (create, notify, ...).
72+
The bug is part in the planner, which returns a number of plans different
73+
than the number of commands if there are utility commands in the query, and
74+
in part in the function executor which assumes that all commands are normal
75+
query commands and causes a SIGSEGV trying to execute commands without plan.
76+
77+
*/
78+
#define FUNC_UTIL_PATCH
79+
6880
#endif /* CONFIG_H */
6981

0 commit comments

Comments
 (0)