Re: [HACKERS] ipc-daemon

From: Richard Pais <chris_pais(at)yahoo(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Jason Tishler <jason(at)tishler(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-cygwin(at)postgresql(dot)org, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] ipc-daemon
Date: 2002-11-16 22:27:22
Message-ID: 20021116222722.6294.qmail@web12106.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers


Just an explanation in the FAQ that the ipc-daemon is not running won't suffice. Because in my case I had ipc-daemon (version 1.11) running and it still hung (Jason's patch reported the IpcMemoryCreate error). Only when I downgraded to version 1.09 (office) and upgraded to 1.13 (home) did initdb succeed. So I'd suggest also covering this scenario.
Thanks,
Richard
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
At least that is an FAQ item.

---------------------------------------------------------------------------

Jason Tishler wrote:
> Tom,
> Peter,
>
> On Mon, Nov 04, 2002 at 03:05:25PM -0500, Jason Tishler wrote:
> > On Mon, Nov 04, 2002 at 02:43:01PM -0500, Tom Lane wrote:
> > > If you can detect that cygipc is not running, then ENOSYS seems the
> > > best choice for reporting that. (ENOSPC would be misleading too.)
> >
> > Thanks for your feedback. I will take this to the Cygwin list and see
> > what happens.
>
> I happy to report that the above has been accomplished:
>
> http://cygwin.com/ml/cygwin-announce/2002-11/msg00025.html
>
> Hopefully, the Cygwin initdb and postmaster hang posts will be a thing
> of the past. Unfortunately, they probably will be replaced by questions
> like:
>
> Why does initdb fail with "IpcMemoryCreate: shmget(...) failed:
> Function not implemented?"
>
> Jason
>
> --
> PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
> Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Bruce Momjian 2002-11-17 01:11:28 Re: [HACKERS] ipc-daemon
Previous Message Bruce Momjian 2002-11-16 03:18:34 Re: [HACKERS] ipc-daemon

Browse pgsql-hackers by date

  From Date Subject
Next Message snpe 2002-11-16 22:32:13 Re: DECLARE CURSOR
Previous Message Frank Miles 2002-11-16 21:29:25 Re: DECLARE CURSOR