Thread: Fixed crash in Query Tool

Fixed crash in Query Tool

From
Akshay Joshi
Date:
Hi Dave

We have found one crash in the query tool when we open very large sql file and exit the query tool. Below are the steps to reproduce the crash:
  • Launch pgAdmin3, select any server and database.
  • Open query tool, goto File menu and open very large sql file.
  • Exit the query tool before the file gets loaded completely. At this point application gets crashed.
Attached is the patch file which contains the fix. Please review it and if it looks OK to you then can you please commit it.

--
Akshay Joshi
Senior Software Engineer 
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246

Attachment

Re: Fixed crash in Query Tool

From
Dave Page
Date:
Thanks, applied.

On Thu, Oct 11, 2012 at 2:20 PM, Akshay Joshi
<akshay.joshi@enterprisedb.com> wrote:
> Hi Dave
>
> We have found one crash in the query tool when we open very large sql file
> and exit the query tool. Below are the steps to reproduce the crash:
>
> Launch pgAdmin3, select any server and database.
> Open query tool, goto File menu and open very large sql file.
> Exit the query tool before the file gets loaded completely. At this point
> application gets crashed.
>
> Attached is the patch file which contains the fix. Please review it and if
> it looks OK to you then can you please commit it.
>
> --
> Akshay Joshi
> Senior Software Engineer
> EnterpriseDB Corporation
> The Enterprise PostgreSQL Company
> Phone: +91 20-3058-9522
> Mobile: +91 976-788-8246
>
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.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