Re: [HACKERS] Patch to psql.c to allow .psqlrc file - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Patch to psql.c to allow .psqlrc file
Date
Msg-id 7ae3b958f9ed6e9f928812d9db1d5903
Whole thread
In response to [HACKERS] Patch to psql.c to allow .psqlrc file  (Andrew Martin <martin@biochemistry.ucl.ac.uk>)
List 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 by date:

Previous
From: David Friend
Date:
Subject: Re: [HACKERS] Array bug is still there....
Next
From: Robert Withrow
Date:
Subject: Re: [HACKERS] Array bug is still there....