Re: [HACKERS] PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed: Invalid argument

2003-07-06 Thread qhwt
Hi, On Wed, Jul 02, 2003 at 03:49:19PM +0900, Kenji Sugita wrote: > It seems that a value of addr->ai_socktype returned by getaddrinfo in > pg_stat.c is not SOCK_DGRAM. Please try the following untested patch: --- pgstat.c.orig Thu Jun 12 16:36:51 2003 +++ pgstat.cMon Jul 7 00

Re: [HACKERS] PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed: Invalid argument

2003-07-06 Thread qhwt
On Mon, Jul 07, 2003 at 12:38:57AM +0900, [EMAIL PROTECTED] wrote: > Hi, > > On Wed, Jul 02, 2003 at 03:49:19PM +0900, Kenji Sugita wrote: > > It seems that a value of addr->ai_socktype returned by getaddrinfo in > > pg_stat.c is not SOCK_DGRAM. > > Please try the following untested patch: No, p

Re: [HACKERS] PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed: Invalid argument

2003-07-09 Thread qhwt
Hello, > On Mon, Jul 07, 2003 at 12:55:06AM +0900, [EMAIL PROTECTED] wrote: > > > > When hints.ai_family is PF_UNSPEC, getaddrinfo() returns two entries, > > first one being IPv6 one, and the second one is IPv4 one, even if > > IPv6 support is not compiled in the kernel(this is true at least on >