Re: [HACKERS] Patch to psql.c to allow .psqlrc file

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Patch to psql.c to allow .psqlrc file
Дата
Msg-id 7ae3b958f9ed6e9f928812d9db1d5903
обсуждение
Ответ на [HACKERS] Patch to psql.c to allow .psqlrc file  (Andrew Martin <martin@biochemistry.ucl.ac.uk>)
Список pgsql-hackers
> > Kind of hard to CENTRALLY locate something if you are not root.  I
> > wouldn't worry about it.
>
>     No, you actually missed the point.
>
>     If I install pgsql as userid pgsql, I can also install a psqlrc
> file into pgdata/psqlrc...but, as pgsql, I can't install the same thing in
> /etc
>
>     So, what we are saying, is that in order to *completely* install
> PostgreSQL, you now have to have root access?  Completely including the
> psqlrc file...

Makes sense.  Maybe we should look in /etc, the PostgreSQL install
directory, then the user's home directory.

- --
Bruce Momjian
maillist@candle.pha.pa.us

------------------------------

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