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

From Gurjeet Singh
Subject Re: BUG #2840: \set HISTCONTROL ignoredups doesn't work in psql
Date
Msg-id 65937bea0612190759s144ea081id9fa394de6f42fc8@mail.gmail.com
Whole thread Raw
In response to BUG #2840: \set HISTCONTROL ignoredups doesn't work in psql  ("Ned T. Crigler" <crigler@users.sourceforge.net>)
List pgsql-bugs
On 12/19/06, Ned T. Crigler <crigler@users.sourceforge.net> wrote:
>
>
> 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.
>

Can you please let us know the environment? If it is psql on Windows, then I
think it is the cmd.exe thats storing that history for you and not psql
itself.

Regards,


--
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | yahoo }.com

pgsql-bugs by date:

Previous
From: "Ned T. Crigler"
Date:
Subject: BUG #2840: \set HISTCONTROL ignoredups doesn't work in psql
Next
From: Tom Lane
Date:
Subject: Re: No error when FROM is missing in subquery