From: Stefan Viljoen <viljoens@verishare.co.za>
To: pgsql-odbc@postgresql.org
Subject: Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client - SOLVED
Date: Wed, 22 Jul 2015 12:34:10 +0200
Message-ID: <002601d0c469$f1da9a70$d58fcf50$@verishare.co.za> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
Hi guys
Firstly, thanks for all the ideas and assistance.
I managed to solve this on Centos 6.5 by downgrading to Postgres 9.0 and
ODBC is now working fine:
---
[root@asterisk ~]# isql -v pgdb-cdr
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL> quit
[root@asterisk ~]#
---
So apparently there is an incompatibility between the relatively old
unixODBC current on an updated Centos 6.5 instance and the psqlodbc driver
from Postgres 9.4
I did not change or touch my /etc/odbcinst.ini or /etc/odbc.ini
ODBC is now apparently working fine on my Centos 6.5 box to Postgres 9.0
I did not test 9.1, 9.2 or 9.3, but I know for sure 9.0's psqlodbc driver is
now working with unixODBC allowing me to access my Postgres database via
isql.
Thanks all
Regards
Stefan
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: viljoens@verishare.co.za
Subject: Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client - SOLVED
In-Reply-To: <002601d0c469$f1da9a70$d58fcf50$@verishare.co.za>
References: <002601d0c469$f1da9a70$d58fcf50$@verishare.co.za>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox