Re: 7.4RC2 regression failur and not running stats collector process

From: Derek Morr <dvm105(at)psu(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.4RC2 regression failur and not running stats collector process
Date: 2003-11-13 21:04:23
Message-ID: 3FB3F1D7.3000707@psu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I think I have some more information on the statistics collector startup
problem on Solaris.

I inserted the following into pgstat.c:

if (bind(pgStatSock, addr->ai_addr, addr->ai_addrlen) < 0)
{

/* what type of socket are we trying to bind? */
fprintf(stderr, "Address family is %d\n",
addr->ai_addr->sa_family);

...
}

This returns a value of 26, which on Solaris is AF_INET6. But the
machine I'm using (a V880 running 2.8) has no IPv6 address on any of its
interfaces. And addr->ai_addr->sa_data is empty, so it's no surprise why
bind() is failing.

I'm not sure why Solaris is giving getaddrinfo_all an IPv6 address, though.

-derek

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2003-11-13 21:35:31 Background writer process
Previous Message Larry Rosenman 2003-11-13 18:20:33 Re: Any more "must fix" issues for 7.4?