Re: psql + autocommit

From: "Michael Paesold" <mpaesold(at)gmx(dot)at>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: lars(at)tinde(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: psql + autocommit
Date: 2004-09-17 10:49:57
Message-ID: 16155.1095418197@www4.gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

--
Supergnstige DSL-Tarife + WLAN-Router fr 0,- EUR*
Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2004-09-17 11:32:31 Re: PSQLFS - PostgreSQL File System
Previous Message Katsaros Kwn/nos 2004-09-17 08:50:18 Re: Problems with SPI memory management (new...)