Re: [HACKERS] psql 'none' as a HISTFILE special case

From: "Martin Atukunda" <matlads(at)gmail(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, "Bruce Momjian" <bruce(at)momjian(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] psql 'none' as a HISTFILE special case
Date: 2006-08-25 16:01:38
Message-ID: ce92d7150608250901w5352aeb4w42de7731e228f32@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 8/25/06, Peter Eisentraut <peter_e(at)gmx(dot)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 -

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew T. O'Connor 2006-08-25 16:03:08 Re: Autovacuum on by default?
Previous Message Tom Lane 2006-08-25 15:57:31 Re: Autovacuum on by default?

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-08-25 16:28:16 Re: [HACKERS] psql 'none' as a HISTFILE special case
Previous Message Peter Eisentraut 2006-08-25 15:17:25 Re: [HACKERS] psql 'none' as a HISTFILE special case