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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Griffiths <griffithsjr(at)navair(dot)navy(dot)mil>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: psql does not pick up hostname without -h even though they ae the same
Date: 2003-08-28 03:09:50
Message-ID: 14637.1062040190@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

John Griffiths <griffithsjr(at)navair(dot)navy(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruno Wolff III 2003-08-28 03:23:56 Re: [PERFORM] pgsql inserts problem
Previous Message John Griffiths 2003-08-27 18:43:14 psql does not pick up hostname without -h even though they ae the same