Re: BUG: pgScript NOT thread safe!!

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Mickael Deloison <mdeloison(at)gmail(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, Andras Fabian <Fabian(at)atrada(dot)net>, pgadmin-support(at)postgresql(dot)org
Subject: Re: BUG: pgScript NOT thread safe!!
Date: 2009-06-26 08:17:16
Message-ID: 937d27e10906260117v26c5c5dajed9e2ae30f42108a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Thu, Jun 25, 2009 at 6:55 PM, Mickael Deloison<mdeloison(at)gmail(dot)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

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Ashesh Vashi 2009-06-26 08:57:59 Re: BUG: pgScript NOT thread safe!!
Previous Message Dave Page 2009-06-26 08:11:18 Re: BUG: pgScript NOT thread safe!!