Limit the size of explainPopup - Mailing list pgadmin-hackers

From Clemens Eisserer
Subject Limit the size of explainPopup
Date
Msg-id CAFvQSYTTut+Q4F4Lrz49tVmXpHGb4gP6hmMxKLi2p2Z+YCdwOw@mail.gmail.com
Whole thread Raw
Responses Re: Limit the size of explainPopup  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
Hi,

I often use pgadmin's graphical explain to see how queries generated
be hibernate are planned&executed by postgresql, and it works really
well.
However, for very long queries pgadmin3 tries to create windows >
65536 pixels, which is not supported by X11 and therefor leads to
XErrors, which in turn cause pgadmin3 to close because of assetions.

I would propose to limit the size of the ExplainPopup to the screen
dimensions, please see the attached patch.

Thank you in advance, Clemens

Attachment

pgadmin-hackers by date:

Previous
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #13: Pasting from apps on Mac OS X doesn't always work
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Review of language object