From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Kurt Roeckx <Q(at)ping(dot)be> |
Cc: | Kenji Sugita <sugita(at)srapc1327(dot)sra(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed: |
Date: | 2003-07-25 04:33:57 |
Message-ID: | 200307250433.h6P4Xve09203@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Already applied by Tom. Thanks.
---------------------------------------------------------------------------
Kurt Roeckx wrote:
> On Tue, Jul 08, 2003 at 12:34:19PM +0900, Kenji Sugita wrote:
> > From: Kurt Roeckx <Q(at)ping(dot)be>
> > Subject: Re: [HACKERS] PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed: Invalid argument
> > Date: Sun, 6 Jul 2003 18:44:35 +0200
> >
> > ;;; On Sun, Jul 06, 2003 at 06:30:04PM +0200, Kurt Roeckx wrote:
> > ;;; > Try the attached patch instead.
> > ;;;
> > ;;; Oops, that one was a little broken. I change it.
> > ;;;
> > ;;; Try the attached one instead.
> >
> > I tried the newest one.
>
> I did some investigation on a redhat 6.0. It seems getaddrinfo
> is really broken.
>
> It returns an AF_INET socket, but it doesn't say it should be of
> socket type SOCK_DGRAM. It also returns an AF_UNIX socket and
> for that it sets the socktype correct, but we don't want to use
> the AF_UNIX one.
>
> I'm going to assume that Mac Os X is broken in the same way.
>
> Here is a new patch.
>
>
> Kurt
>
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-07-25 04:53:11 | Re: best way to determine start of new statement within a function? |
Previous Message | Tom Lane | 2003-07-25 04:16:13 | Re: name of configure threading option |