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 [email protected]
Whole thread Raw
In response to Re: [PATCHES] psql 'none' as a HISTFILE special case  (Peter Eisentraut <[email protected]>)
Responses Re: [PATCHES] psql 'none' as a HISTFILE special case
List pgsql-hackers
On 8/25/06, Peter Eisentraut <[email protected]> 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?