Re: ipc-daemon - Mailing list pgsql-cygwin

From Dave Page
Subject Re: ipc-daemon
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B884A8@mail.vale-housing.co.uk
Whole thread Raw
In response to ipc-daemon  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: ipc-daemon  (Jason Tishler <jason@tishler.net>)
List pgsql-cygwin

> -----Original Message-----
> From: Peter Eisentraut [mailto:peter_e@gmx.net]
> Sent: 30 October 2002 19:36
> To: pgsql-cygwin@postgresql.org
> Subject: [CYGWIN] ipc-daemon
>
>
> I'm getting tired of the "initdb hangs" class of complaints.
> Why doesn't the relevant function fail if the ipc-daemon
> isn't running?  Can anything be done in that area?

Yes, me too. How about something like:

PID=`ps -ef|grep ipc-daemon | awk '{ print $2 }'`
if !(test -n "$PID")
then
        echo "Error: The ipc-daemon has not been not started."
        exit
fi

in initdb (obviously only for Cygwin of course)? I won't try to make a
patch 'cos I'm sure there's a better way of doing this and shell scripts
aren't my strong point.

Regards, Dave.

pgsql-cygwin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Request for supported platforms
Next
From: Kjell-Olav Bjerknes
Date:
Subject: Problem configuring Postgres under Cygwin