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

Поиск
Список
Период
Сортировка
Искать
От
Heikki Linnakangas
Тема
Re: BUG #5304: psql using conninfo fails in connecting to the server
Дата
Msg-id
4B669147.3080404@enterprisedb.com
Ответ на
Список
Дерево обсуждения
BUG #5304: psql using conninfo fails in connecting to the server "Fujii Masao" <masao.fujii@gmail.com>
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 Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Fujii Masao <masao.fujii@gmail.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Fujii Masao <masao.fujii@gmail.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Joe Conway <mail@joeconway.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Fujii Masao <masao.fujii@gmail.com>
Re: BUG #5304: psql using conninfo fails in connecting to the server Magnus Hagander <magnus@hagander.net>
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. I certainly didn't realize you could do that.
The documented way to do that is:

bin/psql --host=localhost

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com
В списке pgsql-bugs по дате отправления
От: Fujii Masao
Дата:
От: Fujii Masao
Дата:
FAQ