]> granicus.if.org Git - postgresql/commit
Replace max_expr_depth parameter with a max_stack_depth parameter that
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 24 Mar 2004 22:40:29 +0000 (22:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 24 Mar 2004 22:40:29 +0000 (22:40 +0000)
commit8899a2aba92c4a17f422172e7c9dd0e383eefa39
treeaea400d25b0e9c32b84004728c995cd53ab33533
parenta09b9a36d3cc8e4c5cd2877b2b764dc14a78f58e
Replace max_expr_depth parameter with a max_stack_depth parameter that
is measured in kilobytes and checked against actual physical execution
stack depth, as per my proposal of 30-Dec.  This gives us a fairly
bulletproof defense against crashing due to runaway recursive functions.
13 files changed:
doc/src/sgml/runtime.sgml
src/backend/executor/execQual.c
src/backend/optimizer/util/clauses.c
src/backend/parser/parse_expr.c
src/backend/parser/parser.c
src/backend/tcop/postgres.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/bin/psql/tab-complete.c
src/include/miscadmin.h
src/include/parser/parse_expr.h
src/include/pg_config_manual.h
src/include/tcop/tcopprot.h