Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group