Hi Flavio,
Postmaster doesn't detach itself from stdin/stdout. You want to use pg_ctl, which will start you the postmaster in the
background.
About the shmdt error which you get -- I have no idea how harmful it is! Sorry, but I can't help you there.
regards,
--Tim
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the
intendedrecipient. If you received this in error, please contact the sender and delete the e-mail and its attachments
fromall computers.
-----Original Message-----
From: Flávio Henrique [mailto:flavinhohenrique@terra.com.br]
Sent: dinsdag 17 februari 2004 13:01
To: pgsql-cygwin@postgresql.org
Cc: Leeuw van der, Tim
Subject: Re: [CYGWIN] Error when I try to run initdb under cygwin. Plz
help me...
Tim... thanx... it works...
but now I have other problem that maybe you can help again...
after run 'postmaster -D /var/psql' the first messsage is:
LOG: shmdt(0x846e0000) failed: Invalid argument
after that others messages come, until "LOG: database system is ready"
but seems that the process do not finish yet, 'cause the cursor do not
appears in screen..
I must run posmaster with '&' ??
the first message (error) is real problem ?
why the process do not finish? I must open other cygwin bash sheel ??
thanx
Flávio Henrique