3 ms·
The idea of defining and executing a recursive function inside my production database seems a little scary. Might want to build in your own recursion limits to
by robmccoll 5y ago
The idea of defining and executing a recursive function inside my production database seems a little scary. Might want to build in your own recursion limits to that one. Is there a way to set execution timeouts or something?
- sbuttgereit 5y agoThere's a parameter that sets a memory consumption limit on potentially recursive functions: max_stack_depth. (https://www.postgresql.org/docs/14/runtime-config-resource.html https://www.postgresql.org/docs/14/runtime-config-resource.h...)