"Reuven M. Lerner" <reuven@lerner.co.il> writes:
> /test/regress/./tmp_check/data/base/1 ... FATAL: could not create
> shared memory
> segment: Cannot allocate memory
> DETAIL: Failed system call was shmget(key=2, size=1163264, 03600).
OS X has an unreasonably small limit on shared memory size; if you don't
raise it (IIRC you can do this in /etc/rc) then you don't get to have
more than one postmaster at a time.
regards, tom lane