Re: PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed:
От | Kenji Sugita |
---|---|
Тема | Re: PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed: |
Дата | |
Msg-id | 20030709.143437.74728061.sugita@sra.co.jp обсуждение исходный текст |
Ответ на | Re: PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed: (Kurt Roeckx <Q@ping.be>) |
Список | pgsql-hackers |
From: Kurt Roeckx <Q@ping.be> Subject: Re: [HACKERS] PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed: Date: Tue, 8 Jul 2003 22:25:44 +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. I pointed it in the first post. Rturned type is not 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. It works on both platforms. Thanks. Kenji Sugita
В списке pgsql-hackers по дате отправления: