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
Дата
Msg-id 20801.1265040371@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #5304: psql using conninfo fails in connecting to the server  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: BUG #5304: psql using conninfo fails in connecting to the server
Re: BUG #5304: psql using conninfo fails in connecting to the server
Список pgsql-bugs
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> Fujii Masao wrote:
>> In HEAD, psql using conninfo fails in connecting to the server as follows.
>>
>> $ bin/psql "host=localhost"
>> psql: FATAL:  database "host=localhost" does not exist
>>
>> This is because the recently-introduced PQconnectStartParams()
>> doesn't handle correctly the dbname parameter containing '='.

> Hmm, I don't think that was ever really supposed to work, it was
> accidental that it did.

No, it was intentional.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: 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