Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHrJE-0004gy-Tk for pgsql-odbc@arkaria.postgresql.org; Wed, 22 Jul 2015 10:31:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZHrJD-0005do-SE for pgsql-odbc@arkaria.postgresql.org; Wed, 22 Jul 2015 10:31:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHrIr-0005Ez-Q2 for pgsql-odbc@postgresql.org; Wed, 22 Jul 2015 10:31:09 +0000 Received: from mail.verishare.co.za ([217.29.208.2]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHrIn-0001w0-RM for pgsql-odbc@postgresql.org; Wed, 22 Jul 2015 10:31:08 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.verishare.co.za (Postfix) with ESMTP id 9C86D421F37 for ; Wed, 22 Jul 2015 12:30:59 +0200 (SAST) Received: from mail.verishare.co.za ([127.0.0.1]) by localhost (mail.verishare.co.za [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Flj5DCgBwvDs; Wed, 22 Jul 2015 12:30:59 +0200 (SAST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.verishare.co.za (Postfix) with ESMTP id 5AC9E421F38; Wed, 22 Jul 2015 12:30:59 +0200 (SAST) X-Virus-Scanned: amavisd-new at verishare.co.za Received: from mail.verishare.co.za ([127.0.0.1]) by localhost (mail.verishare.co.za [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ho940KS0IqmV; Wed, 22 Jul 2015 12:30:59 +0200 (SAST) Received: from STEFANPC (unknown [172.16.1.76]) by mail.verishare.co.za (Postfix) with ESMTPSA id 425AA421F37 for ; Wed, 22 Jul 2015 12:30:59 +0200 (SAST) From: "Stefan Viljoen" To: 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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdDEaXhITYlehC2XSjSy/7K4LLW1mg== Content-Language: en-za X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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