Re: BUG #5304: psql using conninfo fails in connecting to the server - Mailing list pgsql-bugs

From Joe Conway
Subject Re: BUG #5304: psql using conninfo fails in connecting to the server
Date
Msg-id 4B68D676.4000208@joeconway.com
Whole thread Raw
In response to Re: BUG #5304: psql using conninfo fails in connecting to the server  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-bugs
On 02/02/2010 05:46 PM, Fujii Masao wrote:
> On Wed, Feb 3, 2010 at 10:05 AM, Joe Conway <mail@joeconway.com> wrote:
>> Objections?
>=20
> I think that PQconnectdbParams() rather than psql should handle the
> dbname containing "=3D". Otherwise whenever we use PQconnectdbParams(),
> we would have to check for the content of the dbname before calling
> it in the future application. Which looks very messy for me.

But I thought the whole point of PQconnectdbParams() was to provide an
extensible way to accept parameters when they are already parsed? It
doesn't make any sense to me to have conninfo parsing capability built
into PQconnectdbParams(). For that matter it's kind of an ugly hack that
PQsetdbLogin() supports it, IMHO.

Joe

pgsql-bugs by date:

Previous
From: Fujii Masao
Date:
Subject: Re: BUG #5304: psql using conninfo fails in connecting to the server
Next
From: Tom Lane
Date:
Subject: Re: BUG #5304: psql using conninfo fails in connecting to the server