Re: interface freezes on long running ops

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, "Harald Armin Massa" <haraldarminmassa(at)gmail(dot)com>
Cc: <pgadmin-support(at)postgresql(dot)org>
Subject: Re: interface freezes on long running ops
Date: 2005-10-20 14:30:02
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC35F8@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner(at)postgresql(dot)org
> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of
> Andreas Pflug
> Sent: 13 October 2005 17:26
> To: Harald Armin Massa
> Cc: pgadmin-support(at)postgresql(dot)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.

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Andreas Pflug 2005-10-20 14:35:51 Re: beta2 guru hints misidentifies server OS
Previous Message Dave Page 2005-10-20 13:30:53 Re: Beta3 windows installer wont install