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 b1bc2724b8f81c856148cb4440e45f65
Whole thread Raw
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: The Hermit Hacker
Date:
Subject: Re: [HACKERS] 6.1 jumbo patch?
Next
From: Frank Dana
Date:
Subject: Re: [HACKERS] Problem with copying abstimes