Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YEOL9-0007ib-JL for pgsql-odbc@arkaria.postgresql.org; Thu, 22 Jan 2015 20:26:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YEOL9-0003cS-3f for pgsql-odbc@arkaria.postgresql.org; Thu, 22 Jan 2015 20:26:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YEBVr-0001KJ-Fl for pgsql-odbc@postgresql.org; Thu, 22 Jan 2015 06:45:07 +0000 Received: from pgfoundry.org ([200.46.204.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YEBVm-00055x-Jp for pgsql-odbc@postgresql.org; Thu, 22 Jan 2015 06:45:05 +0000 Received: from localhost (mx1.hub.org [200.46.208.106]) by pgfoundry.org (Postfix) with ESMTP id 5FB48A3E436 for ; Thu, 22 Jan 2015 06:44:54 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (maia.hub.org [200.46.208.106]) (maiad, port 10024) with ESMTP id 31831-02; Thu, 22 Jan 2015 02:44:44 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id 89EC6A3E433; Thu, 22 Jan 2015 06:44:44 +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: <20150122064444.89EC6A3E433@pgfoundry.org> Date: Thu, 22 Jan 2015 06:44:44 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.3 X-Spam-Status: No, hits=-1.901 tagged_above=-5 required=4.9 tests=BAYES_00=-1.9, 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 08:44 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: Open 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: None 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