Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group