Re: psql + autocommit - Mailing list pgsql-general

From Michael Paesold
Subject Re: psql + autocommit
Date
Msg-id 16155.1095418197@www4.gmx.net
Whole thread Raw
In response to Re: psql + autocommit  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: psql + autocommit
List pgsql-general
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


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Is it possible to get the 7.4.1 static docs in HTML form anymore?
Next
From: Tatsuo Ishii
Date:
Subject: Re: PSQLFS - PostgreSQL File System