Re: Stats Collector Won't Start - Mailing list pgsql-general

From Tom Lane
Subject Re: Stats Collector Won't Start
Date
Msg-id 365.1161204938@sss.pgh.pa.us
Whole thread Raw
In response to Re: Stats Collector Won't Start  (Brad Nicholson <bnichols@ca.afilias.info>)
List pgsql-general
Brad Nicholson <bnichols@ca.afilias.info> writes:
> On Wed, 2006-10-18 at 15:59 -0400, Tom Lane wrote:
>> Also, do regular connections to this postmaster work across TCP/IP?
>> If getaddrinfo() is broken I'd expect there to be problems binding
>> to the postmaster's listen socket too ...

> Yes, TCP/IP connections work fine.

Hmm, that may shoot holes in this theory, but --- I'm wondering if
you've got a mismatch in struct addrinfo declarations.  I found a page
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.commtechref/doc/commtrf2/getaddrinfo.htm
that says AIX puts ai_canonname before ai_addr in struct addrinfo,
which is opposite of what we assume in src/include/getaddrinfo.h.
So I guess the next thing to look at is your pg_config.h to see if
HAVE_GETADDRINFO and HAVE_STRUCT_ADDRINFO are defined?

            regards, tom lane

pgsql-general by date:

Previous
From: Ron Peterson
Date:
Subject: Re: uuid c function contrib
Next
From: Tom Lane
Date:
Subject: Re: Drop All the Databases