Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHXgY-0002lT-UR for pgsql-odbc@arkaria.postgresql.org; Tue, 21 Jul 2015 13:34:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZHXgY-00018q-C5 for pgsql-odbc@arkaria.postgresql.org; Tue, 21 Jul 2015 13:34:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHXgX-00018f-VI for pgsql-odbc@postgresql.org; Tue, 21 Jul 2015 13:34:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHXgT-0008SS-9t for pgsql-odbc@postgresql.org; Tue, 21 Jul 2015 13:34:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t6LDYARP027856; Tue, 21 Jul 2015 09:34:11 -0400 From: Tom Lane To: "Stefan Viljoen" cc: pgsql-odbc@postgresql.org Subject: Re: Postgres 9.4 + unixODBC on Centos 6.5 problem connecting localhost postgres instance with isql ODBC commandline client In-reply-to: <000401d0c387$45071e00$cf155a00$@verishare.co.za> References: <000b01d0c066$c58f3b80$50adb280$@verishare.co.za> <55A8BF02.4090001@lurcher.org> <002701d0c07f$bd09f3b0$371ddb10$@verishare.co.za> <55A8E0B8.3070107@lurcher.org> <002e01d0c088$c6b57390$54205ab0$@verishare.co.za> <55A8F948.9040407@lurcher.org> <002f01d0c090$da03cc50$8e0b64f0$@verishare.co.za> <55A905FA.2080701@aklaver.com> <003001d0c099$e21a7b60$a64f7220$@verishare.co.za> <55A90E6A.4030802@lurcher.org>, <003201d0c09f$b1ece5d0$15c6b170$@verishare.co.za> <55BAADA01D8C504993894EAEA7517CF8124630@003FCH1MPN2-002.003f.mgd2.msft.net> <000d01d0c2b8$a8f146e0$fad3d4a0$@verishare.co.za>, <004501d0c2d8$5a4cc710$0ee65530$@verishare.co.za> <55BAADA01D8C504993894EAEA7517CF81246C6@003FCH1MPN2-002.003f.mgd2.msft.net>, <004601d0c2db$2d38ade0$87aa09a0$@verishare.co.za> <55BAADA01D8C504993894EAEA7517CF81246DB@003FCH1MPN2-002.003f.mgd2.msft.net> <004a01d0c2e4$ad416320$07c42960$@verishare.co.za> <55ACE4C5.2030704@lurcher.org> <005101d0c2eb$ae674150$0b35c3f0$@verishare.co.za> <55ACF2B9.202! 0805@lurc her.org> <000401d0c387$45071e00$cf155a00$@verishare.co.za> Comments: In-reply-to "Stefan Viljoen" message dated "Tue, 21 Jul 2015 09:31:33 +0200" Date: Tue, 21 Jul 2015 09:34:10 -0400 Message-ID: <27855.1437485650@sss.pgh.pa.us> 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 "Stefan Viljoen" writes: > This was my definition in /etc/odbc.ini: Hm, I just noticed this bit: > Protocol=9.4 Others with more ODBC experience can correct me, but I suspect that the ODBC driver has no idea what to do with that value. The PG wire protocol hasn't changed since 7.4, and I thought that "7.4" was generally the right thing to use there. Also, have you tried looking into the resulting TraceFile and/or DebugFile? You'd probably have to modify > DebugFile=/var/log/postgresql_debug.log as I sure hope /var/log is not writable to you. regards, tom lane -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc