On 02/02/2010 05:46 PM, Fujii Masao wrote: > On Wed, Feb 3, 2010 at 10:05 AM, Joe Conway <m...@joeconway.com> wrote: >> Objections? > > I think that PQconnectdbParams() rather than psql should handle the > dbname containing "=". 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
signature.asc
Description: OpenPGP digital signature