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
Re: BUG #5304: psql using conninfo fails in connecting to the server |
| Список | pgsql-bugs |
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 по дате отправления: