Re: PATCH: Handling too many notices from the debugging function

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: Handling too many notices from the debugging function
Date: 2013-07-08 15:59:49
Message-ID: CAG7mmozcyC25ZebQt=H0a_Q7fZph6+p4K97+MFPCGcSX1Mfcyw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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

> Thanks - patch applied, with a minor change reducing the timer delay to
> 100ms. Let me know if you see a problem with that.
>
Thanks
I do not see any problem with that.
Any way - it was a random number, and - chosen a little bigger number to be
on safer side.

>
>
> On Fri, Jul 5, 2013 at 9:37 AM, Ashesh Vashi <
> ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>> Hi Dave,
>>
>> During testing of debugger in pgAdmin III, EnterpriseDB's QA found one
>> more bug.
>> If the function, which is being debugged, raise too many notices,
>> pgadmin will become unresponsive.
>>
>> As wxTextCtrl is not able to cop up with frequent AppendText calls, I
>> have to introduce a timer to show the
>> current message(s) after the timer stops. That allows to avoid the
>> frequent call to the AppendText function.
>> Appending those message to the current message instead of calling the
>> function.
>>
>> --
>>
>> 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>
>>
>
>
>
> --
> 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 Neel Patel 2013-07-08 16:19:52 Re: Materialized View Patch File
Previous Message Ashesh Vashi 2013-07-08 15:57:02 Re: PATCH: Wait for the thread only if it is running