Re: PSQLRC environment variable.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PSQLRC environment variable.
Дата
Msg-id 200403100143.i2A1hEs26146@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: PSQLRC environment variable.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PSQLRC environment variable.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> James Tanis <jtt@sysd.com> writes:
> > In the tradition of telnet, xinit, and others, I've created a patch which
> > allows users to override the location of .psqlrc by setting the PSQLRC
> > environment variable.
>
> Uh, why is that a good idea?

Well, suppose you want all your users to use the same psqlrc file.
Instead of creating symlinks for every user, you can just set PSQLRC in
/etc/profile and everyone gets it.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PSQLRC environment variable.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PSQLRC environment variable.