pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: psqlodbc-bugs@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [psqlodbc-Bugs][1011265] psqlodbc driver won't connect when socket not in /tmp
Date: Thu, 22 Jan 2015 07:01:34 +0000 (UTC)
Message-ID: <20150122070134.A7662A3E432@pgfoundry.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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



view thread (2+ messages)

Message-ID: <20150122070134.A7662A3E432@pgfoundry.org>
Permalink:  ../20150122070134.A7662A3E432@pgfoundry.org/
Also on:    postgresql.org/message-id/20150122070134.A7662A3E432@pgfoundry.org

 · 

reply

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: psqlodbc-bugs@pgfoundry.org, noreply@pgfoundry.org
  Subject: Re: [psqlodbc-Bugs][1011265] psqlodbc driver won't connect when socket not in /tmp
  In-Reply-To: <20150122070134.A7662A3E432@pgfoundry.org>
  References: <20150122070134.A7662A3E432@pgfoundry.org>

* 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