Re: 7.4RC2 regression failur and not running stats collector process on Solaris - Mailing list pgsql-hackers

From Kurt Roeckx
Subject Re: 7.4RC2 regression failur and not running stats collector process on Solaris
Date
Msg-id 20031112183914.GA30786@ping.be
Whole thread Raw
In response to Re: 7.4RC2 regression failur and not running stats collector process on Solaris  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 7.4RC2 regression failur and not running stats collector process on Solaris  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Nov 12, 2003 at 10:32:38AM -0500, Tom Lane wrote:
> "Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at> writes:
> > Are we using an api that only returns nslookup responses and not
> > /etc/hosts entries ? At least on AIX it looks like it.
> 
> We use getaddrinfo(), or if that doesn't exist gethostbyname().
> If there's a problem of that ilk then it's those library routines'
> fault.  But AFAICT Kiyoshi's problem is not that ... unless maybe
> localhost is incorrectly listed as something other than 127.0.0.1
> in one of those sources?

It might depend on settings in /etc/host.conf or
/etc/nsswitch.conf or something too?

You can ussually tell the lib to use the files or not.

It's always a good idea to put localhost into dns too.


Kurt



pgsql-hackers by date:

Previous
From: Jordan Henderson
Date:
Subject: Re: Proposal for a cascaded master-slave replication system
Next
From: Tom Lane
Date:
Subject: Re: 7.4RC2 regression failur and not running stats collector process on Solaris