Re: docs: outdated reference to recursive expression evaluation
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: John Naylor <jcnaylor@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2018-12-08T16:30:31Z
Lists: pgsql-hackers
John Naylor <jcnaylor@gmail.com> writes: > In confg.sgml, in the section about max_stack_depth, there's this sentence: > "The safety margin is needed because the stack depth is not checked in > every routine in the server, but only in key potentially-recursive > routines such as expression evaluation." > Since the change in expression evaluation in v10, there's probably a > better example of recursive routines, but I'm not sure what that would > be. We could say "expression compilation" and it'd still be valid. Or just drop the last four words altogether. I don't think we want to expend the verbiage to be more precise here, since it's only a tangential point. BTW, while looking at this I noted that copyfuncs.c has a check_stack_depth call but outfuncs, readfuncs, equalfuncs don't. Surely that's not good. regards, tom lane
Commits
-
Add stack depth checks to key recursive functions in backend/nodes/*.c.
- e60122b54daf 10.7 landed
- 62999b93251e 11.2 landed
- 552c310ba4ec 9.5.16 landed
- 3af726a1f3bf 9.4.21 landed
- 0f9fd7419a19 9.6.12 landed
- 001bb9f3ed05 12.0 landed
-
Doc: remove obsolete reference to recursive expression evaluation.
- e28649a67f56 12.0 landed