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 4487d8b95d177a3d39f24c1df2c34f4a
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
> 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 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