BUG #2840: \set HISTCONTROL ignoredups doesn't work in psql - Mailing list pgsql-bugs

From Ned T. Crigler
Subject BUG #2840: \set HISTCONTROL ignoredups doesn't work in psql
Date
Msg-id 200612190559.kBJ5xoBA011353@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #2840: \set HISTCONTROL ignoredups doesn't work in psql  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Re: BUG #2840: \set HISTCONTROL ignoredups doesn't work in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #2840: \set HISTCONTROL ignoredups doesn't work in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2840
Logged by:          Ned T. Crigler
Email address:      crigler@users.sourceforge.net
PostgreSQL version: 8.2
Operating system:   Linux (Debian unstable)
Description:        \set HISTCONTROL ignoredups doesn't work in psql
Details:

In psql, doing:

\set HISTCONTROL ignoredups
select 1;
select 1;
select 1;
select 1;
select 1;

adds every select statement into the history, instead of ignoring the
duplicate statements.

pgsql-bugs by date:

Previous
From: "Kevin Macdonald"
Date:
Subject: BUG #2842: Installation procedure
Next
From: "Gurjeet Singh"
Date:
Subject: Re: BUG #2840: \set HISTCONTROL ignoredups doesn't work in psql