Unix Technical Forum

SVN Commit by dpage: r6458 - in trunk/pgadmin3: . pgadmin/ctl pgadmin/db pgadmin/frm pgadmin/include/ctl pgadmin/include/db pgadmin/include/frm

This is a discussion on SVN Commit by dpage: r6458 - in trunk/pgadmin3: . pgadmin/ctl pgadmin/db pgadmin/frm pgadmin/include/ctl pgadmin/include/db pgadmin/include/frm within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Author: dpage Date: 2007-07-19 13:23:47 +0000 (Thu, 19 Jul 2007) New Revision: 6458 Revision summary: http://svn.pgadmin.org/cgi-bin/viewc...=6458&view=rev Log: Refactor the ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 08:40 AM
svn@pgadmin.org
 
Posts: n/a
Default SVN Commit by dpage: r6458 - in trunk/pgadmin3: . pgadmin/ctl pgadmin/db pgadmin/frm pgadmin/include/ctl pgadmin/include/db pgadmin/include/frm

Author: dpage

Date: 2007-07-19 13:23:47 +0000 (Thu, 19 Jul 2007)

New Revision: 6458

Revision summary: http://svn.pgadmin.org/cgi-bin/viewc...=6458&view=rev

Log:
Refactor the Query Tool's execQuery function to prevent pgAdmin freezing while two long running queries are
executing simultaneously. Instead of looping inside execQuery, we now fire off the query thread and pass it the state info for the query. The thread posts an event when completed, which is processed by what was the
second and third parts of execQuery. Per report from Magnus. Redesign ideas and debugging suggestions from Magnus & Simon Riggs.


Modified:
trunk/pgadmin3/CHANGELOG
trunk/pgadmin3/pgadmin/ctl/ctlSQLResult.cpp
trunk/pgadmin3/pgadmin/db/pgQueryThread.cpp
trunk/pgadmin3/pgadmin/frm/frmQuery.cpp
trunk/pgadmin3/pgadmin/include/ctl/ctlSQLResult.h
trunk/pgadmin3/pgadmin/include/db/pgQueryThread.h
trunk/pgadmin3/pgadmin/include/frm/frmQuery.h
trunk/pgadmin3/pgadmin/include/frm/menu.h

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com