Re: 8.1beta, SunOS and shmget - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: 8.1beta, SunOS and shmget
Date
Msg-id 20050829202025.GA11282@pervasive.com
Whole thread Raw
In response to Re: 8.1beta, SunOS and shmget  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Aug 29, 2005 at 01:28:22PM -0400, Tom Lane wrote:
> Heikki Linnakangas <hlinnaka@iki.fi> writes:
> > On Mon, 29 Aug 2005, Tom Lane wrote:
> >> Yes; mostly from 2PC support I think.  Try reducing
> >> max_prepared_transactions.  (We might want to debate whether the default
> >> setting should be smaller than 50 --- it looks to me like that's adding
> >> over 700K to the default shared memory block size.)
> 
> > In fact, 0 might be reasonable default. Not many people need 2PC.
> 
> Good point, but if we set it to 0 then the prepared-xacts regression
> test won't work.  We could set it to just enough to run the test,
> say five or ten.

ISTM it would be better to allow the regression tests to use their own
config. It might even be useful to allow the regression tests to use
multiple postgresql.conf files as a means to test different things.

Of course this might not make it into 8.1, but it seems somewhat
backwards to be setting the default config just to satisfy make check.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software        http://pervasive.com        512-569-9461


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Query Sampling
Next
From: Simon Riggs
Date:
Subject: Re: Call for 7.5 feature completion