PostgreSQL7 port fails when I try to run initdb

Bill Moran wmoran at potentialtech.com
Thu May 1 08:50:00 PDT 2003


Bruce Evans wrote:
> On Wed, 30 Apr 2003, Wesley Morgan wrote:
> 
>>However, the SYSV options in NOTES are set to worthless values. They are
>>in many cases lower than the defaults... It's a bit misleading since there
>>are no comments and you almost expect the values to be high for debugging.
> 
> All values in NOTES are supposed to be unusual, so that unusual values
> get tested.  Any resemblance to usable values is accidental.

Here's where I'm confused:
Looking at src/sys/kern/sysv_shm.c that I used to build my v5 kernel
(1.74) and comparing it to the version I used to build my v4 kernel
(1.45.2.6) I see the same default values for SHMMAXPGS, SHMMAX, SHMMIN,
SHMMNI, SHMSEG, and SHMALL in both.  Yet my v4 kernel supports Postgre
without any tweaks needed in the kernel config and my v5 kernel requires
overriding those values in order for initdb to work.

I'm guessing there's more in the source somewhere, but I'm lost at this
point.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



More information about the freebsd-current mailing list