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.