Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client

From: "Faith, Jeremy" <jfaith(at)tycoint(dot)com>
To: Stefan Viljoen <viljoens(at)verishare(dot)co(dot)za>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client
Date: 2015-07-20 10:47:13
Message-ID: 55BAADA01D8C504993894EAEA7517CF81246C6@003FCH1MPN2-002.003f.mgd2.msft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi Stefan,

I had thought perhaps psql was using unix domain socket(/tmp) and not localhost but as
psql -h localhost ...
works for you that is NOT the problem.

Just one last thing to check if you run
grep localhost /etc/hosts
what do you get. In particular is the 127.0.0.1 line(IPv4) before the ::1 line(ipv6).

Regards,
Jeremy Faith
Tyco Safety Products/CEM Systems Ltd.

________________________________

This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of any information contained in it. If you have received this e-mail in error, please notify the sender immediately by e-mail and immediately destroy this e-mail and its attachments.

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Stefan Viljoen 2015-07-20 10:59:40 Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client
Previous Message Stefan Viljoen 2015-07-20 10:39:27 Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client