Re: Connection to a unix domain socket

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Connection to a unix domain socket
Дата
Msg-id 3AD25473.EDEBC844@tpf.co.jp
обсуждение исходный текст
Ответ на Connection to a unix domain socket  (Klaus Reimer <k@ailis.de>)
Список 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 по дате отправления:

Предыдущее
От: Klaus Reimer
Дата:
Сообщение: Connection to a unix domain socket
Следующее
От: Christian Bucanac
Дата:
Сообщение: 64 bit integers