Peter Eisentraut wrote:

> Lars Haugseth wrote:
> > Version 8.0.0beta2 supports a global configuration file. It's should
> > be located in '~postgres/etc/pgsql'.
> 
> That would be pretty useless, since normal users often don't have read 
> access to another user's home directory.

Further up in this thread I read $PGDATA/etc/psqlrc, which seems like
nonsense, too. First, $PGDATA is not known at compile time, second no user
should have access to that directory.

Perhaps it should be (and really is) $PREFIX/etc/psqlrc?
(where $PREFIX is of course the installation prefix set during configure)

I am not at work, so I can have a look at the code or test it myself right
now.

Best Regards,
Michael Paesold

-- 
Supergünstige DSL-Tarife + WLAN-Router für 0,- EUR*
Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to