Re: localhost redux - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: localhost redux
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D15D@m0114.s-mxs.net
Whole thread Raw
In response to localhost redux  ("Gavin M. Roy" <gmr@ehpg.net>)
Responses Re: localhost redux  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > I don't know if the problem is isolated to just me, but I wanted to
> > suggest that we use a parameter for that, which can be configured in the
> > postgresql.conf, with a default value if it's not set, set to
> > localhost.
>
> I think you should first trace down what the problem really is --- is
> your system just misconfigured or is there some fundamental issue that
> we really ought to answer to?

The trouble on AIX is, that getaddrinfo only does a nameservice lookup,
no /etc/hosts. So if your nameservice does not have localhost ...
Same for `hostname`, if nameservice does not resolve `hostname` ...

Andreas


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pg_config
Next
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: Point in Time Recovery