From: Ramon Danieli <ramond@post.tau.ac.il>
To: pgsql-odbc@postgresql.org
Subject: Re: Unix domain socket
Date: Thu, 24 Feb 2005 00:14:55 +0200
Message-ID: <1109196895.421d005fa3786@webmail2.tau.ac.il> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E472B692@ratbert.vale-housing.co.uk>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E472B692@ratbert.vale-housing.co.uk>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: ramond@post.tau.ac.il
Subject: Re: Unix domain socket
In-Reply-To: <1109196895.421d005fa3786@webmail2.tau.ac.il>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E472B692@ratbert.vale-housing.co.uk> <1109196895.421d005fa3786@webmail2.tau.ac.il>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox