pgsql: Reduce recursion depth in recently-added regression test.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reduce recursion depth in recently-added regression test.
Date: 2010-11-03 17:43:00
Message-ID: E1PDhMS-0002BZ-4P@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=78f0924f0081913095677b0b6bfe2877f6b5e5a5

Modified Files
--------------
src/test/regress/expected/plpgsql.out | 8 ++++----
src/test/regress/sql/plpgsql.sql | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-11-04 16:02:26 pgsql: Reimplement planner's handling of MIN/MAX aggregate optimization
Previous Message Tom Lane 2010-11-03 17:42:59 pgsql: Reduce recursion depth in recently-added regression test.