| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера