On Mon, Aug 15, 2011 at 11:31 PM, Kyle Fox <kyle.fox@gmail.com> wrote:
> I used the installer to install Postgres 9.0 on my Mac, and now every 10
> seconds a dialog message flashes and immediately disappears, and STEALS
> FOCUS.
The focus-stealing sounds like a problem coming from the EDB installer
you said you used, and you'll have to complain to those folks about
it.
> My computer is completely unusable because of the installer. How do I fix
> this? I would like to uninstall postgres entirely.
>
> Here's the output from the Console.app:
>
> 11-08-15 9:24:04 PM =A0 =A0 Firewall[63] =A0 =A0postgres is listening fro=
m 0.0.0.0:5432
> proto=3D6
> 11-08-15 9:24:04 PM =A0 =A0 com.edb.launchd.postgresql-8.4[426] =A0 =A0 2=
011-08-15 21:24:04
> MDT FATAL: =A0could not create shared memory segment: Cannot allocate mem=
ory
> 11-08-15 9:24:04 PM =A0 =A0 com.edb.launchd.postgresql-8.4[426] =A0 =A0 2=
011-08-15 21:24:04
> MDT DETAIL: =A0Failed system call was shmget(key=3D5432001, size=3D325877=
76,
> 03600).
=46rom the logs you posted, it sounds like you simply need to adjust the
shared memory segments documented here:
http://www.postgresql.org/docs/current/static/kernel-resources.html
See the "MacOS X" section on that page for OS X specific instructions.
Josh