Re: Explicit psqlrc

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Explicit psqlrc
Дата
Msg-id 1267898187.14188.3.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Explicit psqlrc  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Explicit psqlrc  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On fre, 2010-03-05 at 11:30 +0100, Magnus Hagander wrote:
> > Do you have a use-case where --psqlrc would be more useful than an
> > environment variable, or is it *only* bike-shedding? ;)
> 
> Just to be clear, the code difference isn't very large. Attached is a
> patch that does both PSQLRC and --psqlrc.

I can see the environment variable variant as an analogy to BASH_ENV,
but what is the use case for the --psqlrc option?  Wouldn't it be easier
and more useful to just be able to process more than one file, say by
specifying -f more than once?




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

Предыдущее
От: Kiswono Prayogo
Дата:
Сообщение: Re: C++ project using postgresql source
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: SQL compatibility reminder: MySQL vs PostgreSQL