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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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(-)

Browse pgadmin-hackers by date

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