There appears to be a minor bug in the handling of open SQL windows when the
main pgadmin II window is closed.
Normally when an (edited) sql window is shut, a message appears to the
effect "This query has ben edited, do you wish to save it
[Yes][No][Cancel]".
Pressing cancel leaves the SQL window open.
If an (edited) SQL window is open when the pgadmin main window is closed,
the same message is displayed. Pressing cancel in this case leaves the SQL
window open, but the main pgadmin window still closes, leaving the SQL
window as an orphan. Attempting to do anything with this window (not
surprisingly) causes a VB runtime error.
--
Thomas Sandford