Re: [pgAdmin III] #148: Miscellaneous requests for the query tool - Mailing list pgadmin-hackers

From Dickson S. Guedes
Subject Re: [pgAdmin III] #148: Miscellaneous requests for the query tool
Date
Msg-id ae46fee11003192114r665b6f43xe55063222231db89@mail.gmail.com
Whole thread Raw
In response to [pgAdmin III] #148: Miscellaneous requests for the query tool  ("pgAdmin Trac" <trac@code.pgadmin.org>)
Responses Re: [pgAdmin III] #148: Miscellaneous requests for the query tool
List pgadmin-hackers
2010/3/15 pgAdmin Trac <trac@code.pgadmin.org>:
> #148: Miscellaneous requests for the query tool
>  allow the user defines the max size of the query that could be added in history,

Done, default to 100.

> the total number of queries stored

Done, default to 10.

> avoid store  itentical queries.

Done, but at now it avoids only identical queries. If we run the same
query only changing some spaces or tabs it'll allow the inclusion of
the query in the history. I don't know if this "duplication" may be
accepted as a "expected behaviour" or a bug.

> ask for query deletion

Done, using 'NO' as default.

This patch fixes the 'SetMacrosFile' in sysSettings.h, too.

Patch attached. Comments?

Thanks.

Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: guediz
http://guedesoft.net - http://www.postgresql.org.br

Attachment

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: SVN Commit by dpage: r8234 - trunk/pgadmin3/pgadmin
Next
From: "pgAdmin Trac"
Date:
Subject: [pgAdmin III] #157: Statistics tab shows more database than Properties tab