Thread: graphical explain done

graphical explain done

From
Andreas Pflug
Date:
Hi friends,

I just finished the graphical EXPLAIN output for pgAdmin3, a new binary
win32 snapshot is uploaded. To compile successfully, wx2.5.4 is needed
with the additional OGL contrib package (compiled with
wxUSE_DEPRECATED=0). This graphical lib is also nicely suited to
implement the query builder because it implements objects connected by
lines.

Regards,
Andreas

Re: graphical explain done

From
Diego Gil
Date:
I just made a new CVS checkout and compile it. Graphical EXPLAIN work
great on Linux !. Nice work.

Thanks.

Diego.


El jue, 03-03-2005 a las 11:48 +0000, Andreas Pflug escribió:
> Hi friends,
>
> I just finished the graphical EXPLAIN output for pgAdmin3, a new binary
> win32 snapshot is uploaded. To compile successfully, wx2.5.4 is needed
> with the additional OGL contrib package (compiled with
> wxUSE_DEPRECATED=0). This graphical lib is also nicely suited to
> implement the query builder because it implements objects connected by
> lines.
>
> Regards,
> Andreas
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>


Re: graphical explain done

From
"Dave Page"
Date:

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 03 March 2005 11:49
> To: Dave Page; Peter Eisentraut
> Cc: pgadmin-hackers@postgresql.org
> Subject: graphical explain done
>
> Hi friends,
>
> I just finished the graphical EXPLAIN output for pgAdmin3, a
> new binary
> win32 snapshot is uploaded. To compile successfully, wx2.5.4
> is needed
> with the additional OGL contrib package (compiled with
> wxUSE_DEPRECATED=0). This graphical lib is also nicely suited to
> implement the query builder because it implements objects
> connected by
> lines.

Looks *very* nice, but should I be able to see the stats etc for each
object? When I click a node, what appears to be a mis-sized tooltip
appears - see the attachment. Also, if I try to drag a node I get:

---------------------------
wxWidgets Debug Alert
---------------------------
C:\wxWidgets-2.5.4\src\common\wincmn.cpp(2376): assert "GetCapture() ==
this" failed: attempt to release mouse, but this window hasn't captured
it
Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.
---------------------------
Yes   No   Cancel
---------------------------

Obviously not an issue in a production build, but it would be nice to
fix.

Nice work though :-)

Regards, Dave

Attachment

Re: graphical explain done

From
Andreas Pflug
Date:
Dave Page wrote:
>
>
> Looks *very* nice, but should I be able to see the stats etc for each
> object? When I click a node, what appears to be a mis-sized tooltip
> appears - see the attachment.

How about using the *latest* CVS tip...

  Also, if I try to drag a node I get:
>
> ---------------------------
> wxWidgets Debug Alert
> ---------------------------
> C:\wxWidgets-2.5.4\src\common\wincmn.cpp(2376): assert "GetCapture() ==
> this" failed: attempt to release mouse, but this window hasn't captured
> it

This is an assert from OGL, after a suppressed drag (You can set
SetDraggable(true) in explainShape.cpp to see how it works, but it
doesn't make sense to d&d here).

Regards,
Andreas

Re: graphical explain done

From
"Dave Page"
Date:

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 03 March 2005 13:46
> To: Dave Page
> Cc: pgadmin-hackers@postgresql.org
> Subject: Re: graphical explain done
>
> Dave Page wrote:
> >
> >
> > Looks *very* nice, but should I be able to see the stats
> etc for each
> > object? When I click a node, what appears to be a mis-sized tooltip
> > appears - see the attachment.
>
> How about using the *latest* CVS tip...

Oh, I haven't seen any commit messages since I last updated. Maybe the
list is playing up. Looks good now :-)

>   Also, if I try to drag a node I get:
> >
> > ---------------------------
> > wxWidgets Debug Alert
> > ---------------------------
> > C:\wxWidgets-2.5.4\src\common\wincmn.cpp(2376): assert
> "GetCapture() ==
> > this" failed: attempt to release mouse, but this window
> hasn't captured
> > it
>
> This is an assert from OGL, after a suppressed drag (You can set
> SetDraggable(true) in explainShape.cpp to see how it works, but it
> doesn't make sense to d&d here).

No, but it doesn't mean that users won't - especially those that might
be running snapshot builds with debug enabled.

Regards, Dave