OSDN Git Service

Reduce recursion depth in recently-added regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Nov 2010 17:41:53 +0000 (13:41 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Nov 2010 17:41:53 +0000 (13:41 -0400)
commitfb9042f77232bf30e3743e87fbcd1f1e2b29bde5
tree6224f92e27f384107009a85580ab94aad8594cd2
parent3f36070d72a54b94096e6853b185eb677a658369
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