Re: [PATCHES] psql 'none' as a HISTFILE special case - Mailing list pgsql-hackers

From Martin Atukunda
Subject Re: [PATCHES] psql 'none' as a HISTFILE special case
Date
Msg-id ce92d7150608250901w5352aeb4w42de7731e228f32@mail.gmail.com
Whole thread Raw
In response to Re: [PATCHES] psql 'none' as a HISTFILE special case  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [PATCHES] psql 'none' as a HISTFILE special case
List pgsql-hackers
On 8/25/06, Peter Eisentraut <peter_e@gmx.net> wrote:
> Am Freitag, 25. August 2006 17:03 schrieb Martin Atukunda:
> > hmm, setting HISTFILE to /dev/null doesn't work on my MacOSX here.
>
> Please elaborate on "doesn't work".
>

without any .psqlrc file I get the following error when quitting a psql session:

could not save history to file "/Users/matlads/.psql_history": Invalid argument

When I set HISTFILE to /dev/null I get the following:

could not save history to file "/dev/null": Operation not permitted

- Martin -

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Autovacuum on by default?
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: Autovacuum on by default?