Re: how do you run postgres without dns server - Mailing list pgsql-admin

From Halford Dace
Subject Re: how do you run postgres without dns server
Date
Msg-id Pine.SGI.4.53.0411101203480.617277@jove.stowe.co.za
Whole thread Raw
In response to how do you run postgres without dns server  (Ivan Dimitrov <dobber@bastun.net>)
Responses Re: how do you run postgres without dns server
List pgsql-admin
localhost should be defined in your hosts file, which in most unixoid
environments is /etc/hosts.  It is not an error.

Hal


On Wed, 10 Nov 2004, Ivan Dimitrov wrote:

> I have a database on a machine that does not know what localhost is. Yes, I
> have 127.0.0.1, but I can't resolve localhost to it. I don't want to start a
> caching dns, and don't want to change resolve.conf. Upon starting, postgres
> gives error cannot bind to localhost. then starts accepting connections to
> 127.0.0.1 normaly.
> So, why does postgres try to resolve localhost in the first place? Because of
> this error pg_autovacuum does not start.
> --
>
>
> Hi! I'm your friendly neighbourhood signature virus.
> Copy me to your signature file and help me spread!
>

pgsql-admin by date:

Previous
From: Ivan Dimitrov
Date:
Subject: how do you run postgres without dns server
Next
From: Ivan Dimitrov
Date:
Subject: Re: how do you run postgres without dns server