Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Pgadmin Support > Re: multithread...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 2046 of 2164
Post > Topic >>

Re: multithreading

by dpage@[EMAIL PROTECTED] ("Dave Page") Jun 10, 2008 at 04:06 PM

On Tue, Jun 10, 2008 at 1:40 PM, Anton Melser <melser.anton@[EMAIL PROTECTED]
>
wrote:
> 2008/6/10 Dave Page <dpage@[EMAIL PROTECTED]
>:
>> The restore runs in an entirely separate process from pgAdmin, and
>> doesn't stop you continuing to work whilst it runs (at least in my
>> limited testing here). Maybe you're seeing some platform-specific
>> quirk - what version are you running on what platform?
>
> Um... not on either Windows XP or Windows Server 2008 Standard
> (finally a decent desktop!)... pgadmin stays "not responding" for the
> entire restore. And yes, it's 1.8.4.

I was testing on XP. In further testing, I find that a restore using
the 'clean' option (new in SVN trunk) for some reason doesn't lock up
the UI as other restores do (which are blocking whilst trying to read
from the pg_restore stderr/stdout streams) . I cannot see any clear
reason for this behaviour.

A 'real' fix would probably involve firing off
ExternProcessDialog::checkStreams() from a separate thread, rather
than a timer in the main thread, though it would be nice to understand
why it blocks in some cases but not others. Anyone with time to try
that?

-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

-- 
Sent via pgadmin-sup****t mailing list (pgadmin-sup****t@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-sup****t
 




 5 Posts in Topic:
multithreading
melser.anton@[EMAIL PROTE  2008-06-10 11:45:30 
Re: multithreading
dpage@[EMAIL PROTECTED]   2008-06-10 12:09:12 
Re: multithreading
melser.anton@[EMAIL PROTE  2008-06-10 14:40:32 
Re: multithreading
melser.anton@[EMAIL PROTE  2008-06-10 16:37:00 
Re: multithreading
dpage@[EMAIL PROTECTED]   2008-06-10 16:06:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 4:41:55 CST 2008.