X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2336C11F6D36 for ; Sun, 16 Apr 2006 00:54:39 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.12 X-Spam-Level: X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id x7mN1bEermkJ for ; Sun, 16 Apr 2006 00:54:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 6918711F6D59 for ; Sun, 16 Apr 2006 00:54:34 -0300 (ADT) Received: (qmail 3734 invoked from network); 16 Apr 2006 12:54:32 +0900 X-Authentication: inoue was authenticated by dns.tpf.co.jp at 16 Apr 2006 12:54:32 +0900 Received: from unknown (HELO ?192.168.11.2?) (219.61.40.10) by dns.tpf.co.jp with SMTP; 16 Apr 2006 12:54:32 +0900 Message-ID: <4441BFFC.6080102@tpf.co.jp> Date: Sun, 16 Apr 2006 12:54:36 +0900 From: Hiroshi Inoue User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: Martijn van Oosterhout CC: Tom Lane , Greg Stark , Stephen Frost , Dave Page , pgsql-hackers@postgresql.org Subject: Re: Practical impediment to supporting multiple SSL libraries References: <87ek01ik26.fsf@stark.xeocode.com> <20060413153336.GT4474@ns.snowman.net> <20666.1144943798@sss.pgh.pa.us> <20060413160903.GV4474@ns.snowman.net> <20970.1144946185@sss.pgh.pa.us> <87u08xgyvd.fsf@stark.xeocode.com> <28809.1144952227@sss.pgh.pa.us> <87odz5gr2j.fsf@stark.xeocode.com> <2911.1144976410@sss.pgh.pa.us> <20060414145353.GB5676@svana.org> <20060414152344.GD5676@svana.org> In-Reply-To: <20060414152344.GD5676@svana.org> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Archive-Number: 200604/593 X-Sequence-Number: 82316 Martijn van Oosterhout wrote: >On Fri, Apr 14, 2006 at 04:53:53PM +0200, Martijn van Oosterhout wrote: > > >>Sounds really good. >> >> > > >There's a message on the pgsql-odbc mailing list[1] with some reasons >for not using libpq: > >1. The driver sets some session default parameters(DateStyle, > client_encoding etc) using start-up message. > >As far as I can see it only does this when the environment variables >are set. Which IMHO is the correct behaviour. > IMHO if libpq is to be a generic library it should first provide exactly what it can do using the protocol. *Environment varibales* are not appropriate for per application/datasource settings at all. >3. Quote: I don't know what libraries the libpq would need in the >future but it's quite unpleasant for me if the psqlodbc driver can't be >loaded with the lack of needeless librairies. > >It's a reason, just not a good one IMHO. If the user has installed >libpq with a number of libraries, then that's what the user wants. I'm >not sure why psqlODBC is worried about that. > > It's very important to clarify for what the libraries are needed and my basic policy is to provide appropriate bindings(linkage) between the libraries for the current dependency relation. As for SSL mode it is only a mere extra for the current enhanced driver. My main purpose was to finish up my unfinished work before 7.4 using V3 protocol, holdable cursors etc. The current driver under Windows is available without the existence of libpq. regards, Hiroshi Inoue