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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Patch to psql.c to allow .psqlrc file
Дата
Msg-id 6ef572abe235c25bdfc3aa73a694ed47
обсуждение исходный текст
Ответ на [HACKERS] Patch to psql.c to allow .psqlrc file  (Andrew Martin <martin@biochemistry.ucl.ac.uk>)
Список pgsql-hackers
> Hrmm...was just thinking about this, and there is a flaw here:
>
> PostgreSQL isn't installed as root.  What about an admin that sets up a
> pgsql account, gives it to someone else to installed/maintain...no global
> psqlrc file :(
>
> I don't know if there is any way of doing it, but I would tend to think that
> having on 'central to the install directory' in this case might actually
> be advisable.  Maybe use the --pgdata variable to setup the initial file,
> similar to pg_hba.conf?

Kind of hard to CENTRALLY locate something if you are not root.  I
wouldn't worry about it.

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

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

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