pgAdmin III commit: Fix crashes by limiting the size of explainPopup - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Fix crashes by limiting the size of explainPopup
Date
Msg-id E1SRURW-0006GP-5A@gothos.postgresql.org
Whole thread Raw
List 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:

Previous
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix crashes by limiting the size of explainPopup
Next
From: Guillaume Lelarge
Date:
Subject: Re: Limit the size of explainPopup