On 12/19/06, Ned T. Crigler <crigler(at)users(dot)sourceforge(dot)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[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | yahoo }.com