Re: BUG #5304: psql using conninfo fails in connecting to the server

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: BUG #5304: psql using conninfo fails in connecting to the server
Дата
Msg-id 4B68D676.4000208@joeconway.com
обсуждение исходный текст
Ответ на Re: BUG #5304: psql using conninfo fails in connecting to the server  (Fujii Masao <masao.fujii@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: BUG #5304: psql using conninfo fails in connecting to the server
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5304: psql using conninfo fails in connecting to the server