X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8497254C87 for ; Wed, 23 Feb 2005 22:15:00 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 59149-07 for ; Wed, 23 Feb 2005 22:14:58 +0000 (GMT) Received: from post.tau.ac.il (post.tau.ac.il [132.66.16.11]) by svr1.postgresql.org (Postfix) with ESMTP id F301154C71 for ; Wed, 23 Feb 2005 22:14:57 +0000 (GMT) Received: from vams.tau.ac.il (localhost.localdomain [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 2A06833A653; Thu, 24 Feb 2005 00:14:57 +0200 (IST) Received: from localhost (manray.tau.ac.il [132.66.17.10]) by post.tau.ac.il (Postfix) with ESMTP id 231B233A653; Thu, 24 Feb 2005 00:14:57 +0200 (IST) Received: from 85-65-8-153.barak.net.il (85-65-8-153.barak.net.il [85.65.8.153]) by webmail2.tau.ac.il (IMP) with HTTP for ; Thu, 24 Feb 2005 00:14:55 +0200 Message-ID: <1109196895.421d005fa3786@webmail2.tau.ac.il> Date: Thu, 24 Feb 2005 00:14:55 +0200 From: Ramon Danieli To: pgsql-odbc@postgresql.org Subject: Re: Unix domain socket References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 85.65.8.153 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200502/111 X-Sequence-Number: 5001 While having another look in the sources (08.00.0004) I have found some c= ode that seems to provide Unix domain sockets connection in socket.c. This code depends on "HAVE_UNIX_SOCKETS" macro and seems to allow a singl= e hard coded path (/tmp/...) while providing an empty "ServerName" property in t= he connection string. Can you please explain the nature of this code (it was not available in t= he 07.03.0200 version)? What is required (configure, compilation flags, etc`) in order to have th= is 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=20 > > sockets at all. > > > > Is that true? > > >=20 > > > Yes. psqlODBC was written on Windows and ported to Unix.=20 > > No-one ever had the > > > itch to add uds support. > > >=20 > > > Regards, Dave > > >=20 > >=20 > > Right... > > If we would offer a patch (based on code in the unixODBC PG=20 > > driver), would you > > consider to include it sometimes in the (near) future? > > Thanks, Ramon > > >=20 > Sure, it'll be reviewed and applied if suitable. >=20 > Regards, Dave ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.