Re: psql does not pick up hostname without -h even though they ae the same - Mailing list pgsql-bugs

From Tom Lane
Subject Re: psql does not pick up hostname without -h even though they ae the same
Date
Msg-id 14637.1062040190@sss.pgh.pa.us
Whole thread Raw
In response to psql does not pick up hostname without -h even though they ae the same  (John Griffiths <griffithsjr@navair.navy.mil>)
List pgsql-bugs
John Griffiths <griffithsjr@navair.navy.mil> writes:
> When running psql locally using the tcp connect with tcpip_socket = true and
> hostname_lookup = true in postgresql.conf, psql does not find localhost unless
> the -h option is specified.

I think you've got something weird in your PGHOST environment variable
on the client side.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Renaming table doesn't rename primary key index or serial
Next
From: Bruno Wolff III
Date:
Subject: Re: [PERFORM] pgsql inserts problem