Skip site navigation (1) Skip section navigation (2)

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

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r6458 - in trunk/pgadmin3: . pgadmin/ctl pgadmin/db pgadmin/frm pgadmin/include/ctl pgadmin/include/db pgadmin/include/frm
Date: 2007-07-19 13:23:48
Message-ID: 200707191323.l6JDNmP5008654@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
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/viewcvs.cgi/?rev=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

pgadmin-hackers by date

Next:From: Erwin BrandstetterDate: 2007-07-19 13:39:48
Subject: Re: Option to turn auto-indentation off?
Previous:From: Dave PageDate: 2007-07-19 13:12:14
Subject: Re: Option to turn auto-indentation off?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group