pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Martijn van Oosterhout <kleptog@svana.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Stark <gsstark@mit.edu>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Practical impediment to supporting multiple SSL libraries
Date: Sun, 16 Apr 2006 12:54:36 +0900
Message-ID: <4441BFFC.6080102@tpf.co.jp> (raw)
In-Reply-To: <20060414152344.GD5676@svana.org>
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>

Martijn van Oosterhout wrote:

>On Fri, Apr 14, 2006 at 04:53:53PM +0200, Martijn van Oosterhout wrote:
>  
>
>>Sounds really good.
>>    
>>
><snip>
>
>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



view thread (81+ messages)  latest in thread

Message-ID: <4441BFFC.6080102@tpf.co.jp>
Permalink:  ../4441BFFC.6080102@tpf.co.jp/
Also on:    postgresql.org/message-id/4441BFFC.6080102@tpf.co.jp

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: inoue@tpf.co.jp, kleptog@svana.org, tgl@sss.pgh.pa.us, gsstark@mit.edu, sfrost@snowman.net, dpage@vale-housing.co.uk
  Subject: Re: Practical impediment to supporting multiple SSL libraries
  In-Reply-To: <4441BFFC.6080102@tpf.co.jp>

* 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