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 4B6915D4.4030908@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
Список pgsql-bugs
On 02/02/2010 10:08 PM, Tom Lane wrote:
> Joe Conway <mail@joeconway.com> writes:
>> Are there any of the psql parameters that we do not want to allow to be
>> overridden by the conninfo string?
>=20
> Actually, now that I think about it, psql shouldn't be setting
> application_name at all.  It should be setting
> fallback_application_name, and I think that should be after the dbname
> so that it's not overridable.  The way it's being done now destroys the
> usefulness of the PGAPPNAME environment variable.

Easily done. I'll fix psql/command.c and the documentation tomorrow and
post another patch for review before committing.

Should I also be looking to replace all (or most) other instances of
PQsetdbLogin()?

Thanks!

Joe

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

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