Re: Beta4 Tag'd and Bundled ... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Beta4 Tag'd and Bundled ...
Date
Msg-id 14448.1065288563@sss.pgh.pa.us
Whole thread Raw
In response to Re: Beta4 Tag'd and Bundled ...  (Rod Taylor <rbt@rbt.ca>)
List pgsql-hackers
Rod Taylor <rbt@rbt.ca> writes:
>> Hm.  The parallel regression tests require at least 20.  I deliberately
>> allowed initdb to select values as small as 10 on the theory that
>> installing and not being able to run the parallel regression tests is
>> better than not installing at all.

> Another alternative is to have the regression suite discover the max
> connections, and defer tests when there are (max_connections - 1)
> connections already.

Maybe.  After thinking a bit more, I seem to recall one of the reasons
for having wide parallel sets in the regression tests is that we
*wanted* to consider inability to support a dozen or two connections as
a serious problem.  If we still believe that old logic, then indeed the
right thing to do is for initdb to insist on setting max_connections no
smaller than 20.  (Pre-7.4, the default setting was generally 32, so
this is still more flexible than before from a portability standpoint.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Beta4 Tag'd and Bundled ...
Next
From: Bruno Wolff III
Date:
Subject: Re: pg_dump bug in 7.4