Skip site navigation (1) Skip section navigation (2)

pgAdmin III commit: Fix crashes by limiting the size of explainPopup

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix crashes by limiting the size of explainPopup
Date: 2012-05-07 20:22:02
Message-ID: E1SRURW-0006GP-5A@gothos.postgresql.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Fix crashes by limiting the size of explainPopup

For very long queries, pgAdmin tries to create windows greater than
65536 pixels, which is not supported by X11 and therefor leads to
XErrors, which in turn cause pgadmin3 to close because of assertions.

Patch initialy written by Clemens Eisserer, rewritten by me because of changes
in master.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=788da4623d1dd778a3aee6c371a59fd7f1b1755f

Modified Files
--------------
CHANGELOG                     |    1 +
pgadmin/ctl/explainCanvas.cpp |    5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)

pgadmin-hackers by date

Next:From: Guillaume LelargeDate: 2012-05-07 20:22:46
Subject: Re: Limit the size of explainPopup
Previous:From: Guillaume LelargeDate: 2012-05-07 20:16:55
Subject: pgAdmin III commit: Fix crashes by limiting the size of explainPopup

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group