Add stack depth checks to key recursive functions in backend/nodes/*.c.
Tom Lane <tgl@sss.pgh.pa.us>
Add stack depth checks to key recursive functions in backend/nodes/*.c. Although copyfuncs.c has a check_stack_depth call in its recursion, equalfuncs.c, outfuncs.c, and readfuncs.c lacked one. This seems unwise. Likewise fix planstate_tree_walker(), in branches where that exists. Discussion: https://postgr.es/m/30253.1544286631@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/equalfuncs.c | modified | +4 −0 |
| src/backend/nodes/nodeFuncs.c | modified | +3 −0 |
| src/backend/nodes/outfuncs.c | modified | +4 −0 |
| src/backend/nodes/readfuncs.c | modified | +4 −0 |
Discussion
- docs: outdated reference to recursive expression evaluation 4 messages · 2018-12-08 → 2018-12-10