Re: 8.1beta, SunOS and shmget

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, "Sergey E(dot) Koposov" <math(at)sai(dot)msu(dot)ru>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.1beta, SunOS and shmget
Date: 2005-08-29 20:20:25
Message-ID: 20050829202025.GA11282@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 29, 2005 at 01:28:22PM -0400, Tom Lane wrote:
> Heikki Linnakangas <hlinnaka(at)iki(dot)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(at)pervasive(dot)com
Pervasive Software http://pervasive.com 512-569-9461

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-08-29 20:23:06 Re: 8.1beta, SunOS and shmget
Previous Message Ron Mayer 2005-08-29 20:03:35 Re: Call for 7.5 feature completion