Re: Connection to a unix domain socket

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Klaus Reimer <k(at)ailis(dot)de>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Connection to a unix domain socket
Date: 2001-04-10 00:31:47
Message-ID: 3AD25473.EDEBC844@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Joseph 2001-04-10 10:29:15 perl dbi:pg
Previous Message Klaus Reimer 2001-04-09 15:13:29 Connection to a unix domain socket