Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YEOLg-0007jp-Np for pgsql-odbc@arkaria.postgresql.org; Thu, 22 Jan 2015 20:27:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YEOLf-0004IA-4y for pgsql-odbc@arkaria.postgresql.org; Thu, 22 Jan 2015 20:27:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YEBly-00026n-Io for pgsql-odbc@postgresql.org; Thu, 22 Jan 2015 07:01:46 +0000 Received: from pgfoundry.org ([200.46.204.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YEBlr-0005Nh-C6 for pgsql-odbc@postgresql.org; Thu, 22 Jan 2015 07:01:44 +0000 Received: from localhost (mx3.hub.org [200.46.204.151]) by pgfoundry.org (Postfix) with ESMTP id A94C6A3E435 for ; Thu, 22 Jan 2015 07:01:38 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (maia.hub.org [200.46.204.151]) (maiad, port 10024) with ESMTP id 15377-05; Thu, 22 Jan 2015 03:01:35 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id A7662A3E432; Thu, 22 Jan 2015 07:01:34 +0000 (UTC) Reply-to: psqlodbc-bugs@pgfoundry.org To: noreply@pgfoundry.org From: Subject: [psqlodbc-Bugs][1011265] psqlodbc driver won't connect when socket not in /tmp Content-type: text/plain; charset=UTF-8 Message-Id: <20150122070134.A7662A3E432@pgfoundry.org> Date: Thu, 22 Jan 2015 07:01:34 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.3 X-Spam-Status: No, hits=-0.501 tagged_above=-5 required=4.9 tests=BAYES_05=-0.5, NO_RELAYS=-0.001 X-Spam-Level: X-Pg-Spam-Score: -6.9 (------) 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 psqlodbc-Bugs item #1011265, was changed at 2015-01-22 09:01 by Heikki Linnakangas You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1011265&group_id=1000125 Or by replying to this e-mail entering your response between the following markers: #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ (enter your response here, only in plain text format) #+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ >Status: Closed Priority: 3 Submitted By: David Riedel (dpriedel) Assigned to: Nobody (None) Summary: psqlodbc driver won't connect when socket not in /tmp Category: None Group: None >Resolution: Out of Date Category: None Group: None Resolution: None Initial Comment: Arch Linux recenty updated their PostgreSQL to move the socket directory from /tmp to /run/postgresql. The database and psql both run fine. However, psqlodbc can no longer connect to the database. PostgreSQL version 9.2.1 psqlodbc version 09.01.0200 error message returned when attempting to connect: [08001][unixODBC]Could not connect to the server; Could not connect to remote socket immedaitely [ISQL]ERROR: Could not SQLConnect If I tell the database to use /tmp (passing -o "-k /tmp" to pg_ctl) then odbc access works but psql access does not. ---------------------------------------------------------------------- Comment By: Heikki Linnakangas (hlinnaka) Date: 2015-01-22 08:44 Message: This is a crappy answer, but the driver was changed recently to always use libpq for connecting. So it should behave just the same as psql now... ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1011265&group_id=1000125 -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc