Re: ipc-daemon

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: ipc-daemon
Date: 2002-10-31 08:48:02
Message-ID: 03AF4E498C591348A42FC93DEA9661B884A8@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

> -----Original Message-----
> From: Peter Eisentraut [mailto:peter_e(at)gmx(dot)net]
> Sent: 30 October 2002 19:36
> To: pgsql-cygwin(at)postgresql(dot)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.

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Kjell-Olav Bjerknes 2002-10-31 15:11:47 Problem configuring Postgres under Cygwin
Previous Message Peter Eisentraut 2002-10-30 19:35:41 ipc-daemon