]> granicus.if.org Git - postgresql/commit
Reduce recursion depth in recently-added regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Nov 2010 17:42:24 +0000 (13:42 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Nov 2010 17:42:24 +0000 (13:42 -0400)
commit9f22a3f091e125af166c67ffaba87aa3f86a28db
tree1fca78e7ff7d6aca8eece8b05fddfbf2bc7fd429
parent2868b0cbe061724b7d46234cf053f7fdb3672600
Reduce recursion depth in recently-added regression test.

Some buildfarm members fail the test with the original depth of 10 levels,
apparently because they are running at the minimum max_stack_depth setting
of 100kB and using ~ 10k per recursion level.  While it might be
interesting to try to figure out why they're eating so much stack, it isn't
likely that any fix for that would be back-patchable.  So just change the
test to recurse only 5 levels.  The extra levels don't prove anything
correctness-wise anyway.
src/test/regress/expected/plpgsql.out
src/test/regress/sql/plpgsql.sql