Re: PATCH: Wait for the thread only if it is running

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: Wait for the thread only if it is running
Date: 2013-07-08 15:57:02
Message-ID: CAG7mmoye_yFHhH5=-Rch_bnxn=oXFb2CmaXVvz_z4zkURt=LcQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks

On Mon, Jul 8, 2013 at 7:18 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Thanks - patch applied.
>
>
> On Mon, Jul 8, 2013 at 6:03 AM, Ashesh Vashi <
> ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>> Found couple of more issues in the same area.
>> - Forgot to set variable to NULL after deleting it
>> - Removed redundant code
>> - Canceling the thread execution only if the thread is running
>>
>> Attached is the updated patch.
>>
>> On Fri, Jul 5, 2013 at 2:41 PM, Ashesh Vashi <
>> ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
>>
>>> Hi,
>>>
>>> I have modified the code a little bit for the ctlSQLResult and debugger,
>>> so that it will wait for the thread only if it was running.
>>> It should resolve the issue reported in the following mail thread.
>>> http://www.postgresql.org/message-id/E7BD3DF3326743FC867EDDB5D2446840@O
>>>
>>> --
>>>
>>> Thanks & Regards,
>>>
>>> Ashesh Vashi
>>> EnterpriseDB INDIA: Enterprise PostgreSQL Company<http://www.enterprisedb.com>
>>>
>>>
>>>
>>> *http://www.linkedin.com/in/asheshvashi*<http://www.linkedin.com/in/asheshvashi>
>>>
>>
>>
>>
>> --
>> --
>>
>> Thanks & Regards,
>>
>> Ashesh Vashi
>> EnterpriseDB INDIA: Enterprise PostgreSQL Company<http://www.enterprisedb.com>
>>
>>
>>
>> *http://www.linkedin.com/in/asheshvashi*<http://www.linkedin.com/in/asheshvashi>
>>
>>
>> --
>> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgadmin-hackers
>>
>>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

--
--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*<http://www.linkedin.com/in/asheshvashi>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2013-07-08 15:59:49 Re: PATCH: Handling too many notices from the debugging function
Previous Message Ashesh Vashi 2013-07-08 15:56:27 Re: PATCH: Debugger with Postgres Plus Advanced Server (EnterpriseDB)