Yes,PG told me about this:
LOG: could not resolve "localhost": no address associated with name
LOG: disabling statistics collector for lack of working socket
WARNING: autovacuum not started because of misconfiguration
HINT: Enable the "track_counts" option.
LOG: database system was shut down at 2011-10-27 09:43:18 GMT
LOG: database system is ready to accept connections
On Wed, Nov 9, 2011 at 15:06, Bruce Momjian <bruce@momjian.us> wrote:
> Andres Freund wrote:
>> Hi Robert,
>>
>> On Thursday, October 27, 2011 12:38:02 PM Robert Young wrote:
>> > What Would Happen if I got NO "localhost" entry in my /etc/hosts ?
>> Why should pg cater for such a broken configuration? Sorry for being har=
sh but
>> that seems like it would end in heaps of workarounds.
>
> Do we throw at least a log message warning if localhost isn't resolved?
> If not, we should. =C2=A0(I don't want to break my OS to test this.)
>
> --
> =C2=A0Bruce Momjian =C2=A0<bruce@momjian.us> =C2=A0 =C2=A0 =C2=A0 =C2=A0h=
ttp://momjian.us
> =C2=A0EnterpriseDB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://enterprisedb.com
>
> =C2=A0+ It's impossible for everything to be true. +
>