Re: [BUGS] pg_service.conf ignores dbname parameter

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [BUGS] pg_service.conf ignores dbname parameter
Дата
Msg-id 200312181832.25898.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: [BUGS] pg_service.conf ignores dbname parameter  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] pg_service.conf ignores dbname parameter  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Hm.  I'm of the opinion that the real problem here is the code's
> assumption that it is reasonable to force dbname = servicename when
> the service file doesn't say any such thing.  For all other
> parameters, omitting the parameter from pg_service.conf causes the
> standard default to be adopted.  Why should dbname work differently? 

Regardless of this particular issue, I think it would be useful if, 
under some conditions to be identified, some service were taken as 
default if nothing is specied in libpq.  That would eliminate the need 
to set environment variables, which is undesirable in many situations.



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: replace all with * in pg_hba.conf
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] pg_service.conf ignores dbname parameter