Re: Unix domain socket

Поиск
Список
Период
Сортировка
От Ramon Danieli
Тема Re: Unix domain socket
Дата
Msg-id 1109196895.421d005fa3786@webmail2.tau.ac.il
обсуждение исходный текст
Ответ на Re: Unix domain socket  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgsql-odbc
While having another look in the sources (08.00.0004) I have found some code
that seems to provide Unix domain sockets connection in socket.c.
This code depends on "HAVE_UNIX_SOCKETS" macro and seems to allow a single hard
coded path (/tmp/...) while providing an empty "ServerName" property in the
connection string.
Can you please explain the nature of this code (it was not available in the
07.03.0200 version)?
What is required (configure, compilation flags, etc`) in order to have this
macro valid (I think that normally this code is not included)?
Why does it have a single hard coded path?
Thanks
Ramon

> > > > it seems that psqlodbc.so does NOT support unix domain
> > sockets at all.
> > > > Is that true?
> > >
> > > Yes. psqlODBC was written on Windows and ported to Unix.
> > No-one ever had the
> > > itch to add uds support.
> > >
> > > Regards, Dave
> > >
> >
> > Right...
> > If we would offer a patch (based on code in the unixODBC PG
> > driver), would you
> > consider to include it sometimes in the (near) future?
> > Thanks, Ramon
> >
>
> Sure, it'll be reviewed and applied if suitable.
>
> Regards, Dave


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: New snapshot - 08.00.0005
Следующее
От: lothar.behrens@lollisoft.de
Дата:
Сообщение: (Fwd) SQLSetPos problem under Linux