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.1544286...@sss.pgh.pa.us

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e60122b54daf6f0e93162161b41ecb9ab4655fa5

Modified Files
--------------
src/backend/nodes/equalfuncs.c | 4 ++++
src/backend/nodes/nodeFuncs.c  | 3 +++
src/backend/nodes/outfuncs.c   | 4 ++++
src/backend/nodes/readfuncs.c  | 4 ++++
4 files changed, 15 insertions(+)

Reply via email to