Re: psql 'none' as a HISTFILE special case - Mailing list pgsql-patches

From Neil Conway
Subject Re: psql 'none' as a HISTFILE special case
Date
Msg-id 1156178614.4977.2.camel@localhost
Whole thread Raw
In response to psql 'none' as a HISTFILE special case  ("Martin Atukunda" <matlads@gmail.com>)
Responses Re: psql 'none' as a HISTFILE special case
List pgsql-patches
On Mon, 2006-08-21 at 19:27 +0300, Martin Atukunda wrote:
> If readline is used by psql, a history file is automatically used.
> This patch adds the special file name 'none', which if set as the
> HISTFILE parameter, will cause psql not to use the history file.

I think it would be cleaner to use a separate \set variable to control
whether a history file is written, rather than needlessly overloading
the meaning of HISTFILE.

-Neil



pgsql-patches by date:

Previous
From: "Martin Atukunda"
Date:
Subject: psql 'none' as a HISTFILE special case
Next
From: Tom Lane
Date:
Subject: Re: psql 'none' as a HISTFILE special case