> -----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.