------=_Part_16217_32101006.1166543956812
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 12/19/06, Ned T. Crigler <crigler (AT) users (DOT) sourceforge.net> wrote:
Quote:
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
------=_Part_16217_32101006.1166543956812
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 12/19/06, <b class="gmail_sendername">Ned T. Crigler</b> <<a href="mailto:crigler (AT) users (DOT) sourceforge.net">crigler (AT) users (DOT) sourceforge.net</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>In psql, doing:<br><br>\set HISTCONTROL ignoredups<br>select 1;<br>select 1;<br>select 1;<br>select 1;<br>select 1;<br><br>adds every select statement into the history, instead of ignoring the<br>duplicate statements.
<br></blockquote></div><br>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.<br><br>Regards,<br><br clear="all"><br>
-- <br>gurjeet[.singh]@EnterpriseDB.com<br>singh.gurjeet@{ gmail | hotmail | yahoo }.com
------=_Part_16217_32101006.1166543956812--