Re: Explicit psqlrc

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Explicit psqlrc
Дата
Msg-id 9837222c1003050715r4ba9dceau80a88e3164ac28af@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Explicit psqlrc  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
2010/3/5 Tom Lane <tgl@sss.pgh.pa.us>:
> 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.

Fair enough. It worked in my environment, but I can see your point. So
I'll just strip that part out then :)


-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: SQL compatibility reminder: MySQL vs PostgreSQL
Следующее
От: Tim Bunce
Дата:
Сообщение: Core dump running PL/Perl installcheck with bleadperl [PATCH]