Re: interface freezes on long running ops - Mailing list pgadmin-support

From Dave Page
Subject Re: interface freezes on long running ops
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC35F8@ratbert.vale-housing.co.uk
Whole thread Raw
In response to interface freezes on long running ops  (Harald Armin Massa <haraldarminmassa@gmail.com>)
Responses Re: interface freezes on long running ops
List pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of
> Andreas Pflug
> Sent: 13 October 2005 17:26
> To: Harald Armin Massa
> Cc: pgadmin-support@postgresql.org
> Subject: Re: [pgadmin-support] interface freezes on long running ops
>
> Harald Armin Massa wrote:
> > Version: 1.4.0 Beta 2 (Oct 12 2005)
> > running on Windows XP SP2
> >
> > installed from PGInstaller 8.1 beta 3, 12. Oct. 2005
> >
> > when doing "longer running operations" like "VACUUM ANALYZE", the
> > interface freezes totally. I cannot press "CANCEL" or
> resize windows or
> > do anything else.
>
> I checked this with several queries (select * from
> pg_class,pg_attribute
> and VACUUM ANALYZE) and cancel worked ok. Which libpq are you
> using? My
> test was with 8.0.1.5031 from a former installer run.

I just committed a fix for this because I was able to reproduce it. You
can optionally pass a wxWindow to wxSafeYield to prevent it from
disabling input from that one window, which is what I have done to allow
the cancel button to be pressed.

I'm not entirely sure why we don't just use wxYield here and allow the
rest of the UI to be usable as well - is there a reason for that
Andreas, or is this just an oversight?

Regards, Dave.


pgadmin-support by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Beta3 windows installer wont install
Next
From: Andreas Pflug
Date:
Subject: Re: beta2 guru hints misidentifies server OS