]> 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:19 +0000 (13:42 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Nov 2010 17:42:19 +0000 (13:42 -0400)
commitc4a2bd1fa9a08237a835d106817e33bd1ef77176
tree772c5592f10f742def00c458c5c302337b12facd
parent6b1952b07176723b98d8ca0ce3d913bf1360c8af
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