Re: psql 'none' as a HISTFILE special case

From: Neil Conway <neilc(at)samurai(dot)com>
To: Martin Atukunda <matlads(at)gmail(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: psql 'none' as a HISTFILE special case
Date: 2006-08-21 16:43:34
Message-ID: 1156178614.4977.2.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-21 16:46:04 Re: [PATCHES] [PATCH] Provide 8-byte transaction IDs to
Previous Message Martin Atukunda 2006-08-21 16:27:23 psql 'none' as a HISTFILE special case

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-08-21 16:46:04 Re: [PATCHES] [PATCH] Provide 8-byte transaction IDs to
Previous Message Martin Atukunda 2006-08-21 16:27:23 psql 'none' as a HISTFILE special case