Re: ipc-daemon
| От | Dave Page |
|---|---|
| Тема | Re: ipc-daemon |
| Дата | |
| Msg-id | 03AF4E498C591348A42FC93DEA9661B884A8@mail.vale-housing.co.uk обсуждение исходный текст |
| Ответ на | ipc-daemon (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: ipc-daemon
|
| Список | 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 по дате отправления: