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
>
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.
Kurt
Index: ./src/backend/postmaster/pgstat.c
===
RCS fi
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
> my FreeBSD box).
On Mon, Jul 07, 2003 at 12:38:57AM +0900, [EMAIL PROTECTED] wrote:
>
> 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:
[...]
> +
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
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
On Thu, Jul 03, 2003 at 10:44:31AM +0900, Kenji Sugita wrote:
>
> From: Kurt Roeckx <[EMAIL PROTECTED]>
> To: Kenji Sugita <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Date: Wed, 2 Jul 2003 19:20:11 +0200
>
> ;;; What system are you running on, and does it have a getaddrinfo()
> ;;; or not?
>
>
On Wed, Jul 02, 2003 at 08:35:00PM +0200, Kurt Roeckx wrote:
> 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.
>
> What do you base this on?
>
> My guess is that it returns an
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.
What do you base this on?
My guess is that it returns an ipv6 address while you do not have
IPv6 support in the kernel. If that is
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.
What system are you running on, and does it have a getaddrinfo()
or not?
If I tell getaddrinfo() it should return a SOCK_DGRAM, it c
10 matches
Mail list logo