| От | Tom Lane |
|---|---|
| Тема | Re: Explicit psqlrc |
| Дата | |
| Msg-id | 29704.1267796378@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Explicit psqlrc (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: Explicit psqlrc
|
| Список | pgsql-hackers |
Magnus Hagander <magnus@hagander.net> writes:
> 2010/3/5 David Christensen <david@endpoint.com>:
>> My bikeshed has a --psqlrc path/to/file, but +1 on the idea.
> Do you have a use-case where --psqlrc would be more useful than an
> environment variable, or is it *only* bike-shedding? ;)
The env variable solution seems a bit surprising to me. If we were
dealing with a libpq option it would make sense (to avoid having to pass
the info through other layers) but for a psql option it doesn't AFAICS.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера