Re: Connection to a unix domain socket - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Connection to a unix domain socket
Date
Msg-id 3AD25473.EDEBC844@tpf.co.jp
Whole thread Raw
In response to Connection to a unix domain socket  (Klaus Reimer <k@ailis.de>)
List pgsql-odbc
Klaus Reimer wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I can connect via ODBC over TCP/IP to my postgresql database and I connect
> WITHOUT ODBC over a Unix Domain socket to this database, but how can I
> connect via ODBC over a Unix Domain socket to the database?

Unfortunately you couldn't connect over a Unix Domain socket
using current psqlodbc driver.

[snip]

>
> This is working fine. Now I tried to just remove the SERVER and PORT Options
> to make a socket connection and I tried to specifiy this additional option:
>
> SOCKET=/var/run/postgresql/.s.PGSQL.5432
>

The *SOCKET* option is intended to specify socket buffer size
not the name of socket file.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Klaus Reimer
Date:
Subject: Connection to a unix domain socket
Next
From: Christian Bucanac
Date:
Subject: 64 bit integers