Re: BUG: pgScript NOT thread safe!! - Mailing list pgadmin-support

From Dave Page
Subject Re: BUG: pgScript NOT thread safe!!
Date
Msg-id 937d27e10906260117v26c5c5dajed9e2ae30f42108a@mail.gmail.com
Whole thread Raw
In response to Re: BUG: pgScript NOT thread safe!!  (Mickael Deloison <mdeloison@gmail.com>)
List pgadmin-support
On Thu, Jun 25, 2009 at 6:55 PM, Mickael Deloison<mdeloison@gmail.com> wrote:

> Very sorry for this bug. I did not take into account the case when one
> uses 2 or more Query tool windows. If one launches two windows, it
> will create two pgsApplication. However, it will use the same
> Flex/Bison parser. Actually I can''t do anything about Flex & Bison
> not supporting multiple threads.

No problem - these things happen.

> So the only immediate fix I see is the one provided by Ashesh plus
> showing a message box when a script is running saying that a script is
> already running (Magnus suggestion). I do not currently have a
> development environment up-to-date: Ashesh, could you add the message
> box please?

We're blundering through working up a suitable interlock.

> I write down this bug in my TODO list and will try to manage it better
> later. Once again, sorry for this bug.

Added to our new tracker: http://code.pgadmin.org/trac/ticket/12


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


pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: BUG: pgScript NOT thread safe!!
Next
From: Ashesh Vashi
Date:
Subject: Re: BUG: pgScript NOT thread safe!!