Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-odbc by date

Next:From: JosephDate: 2001-04-10 10:29:15
Subject: perl dbi:pg
Previous:From: Klaus ReimerDate: 2001-04-09 15:13:29
Subject: Connection to a unix domain socket

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group