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

Query results in grid, new patch

From: "Edward Di Geronimo Jr(dot)" <edigeronimo(at)xtracards(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Query results in grid, new patch
Date: 2006-02-27 08:00:00
Message-ID: 3881. (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
Attached is a newer version of my query results in a grid patch. This
version adds a custom table class to store the data. My quick testing on
WinXP shows this patch to display query results in about one half the time
my previous patch did. That patch, at least on my system, in turn
displayed results in about one half the time the old code did. So at least
on WinXP, this patch will result in results displaying in approximately
25% of the time they previously took.

The table class I created contains the bare minimum functionality I needed
to make it work. To help improve the speed, I designed the class to use as
few memory allocations as possible.

As with the previous patch, there are still focus issues that make the
clipboard support flakey. The issue seems to be the grid control doesn't
seem to hold onto the focus the way the old list object did, making it
difficult to decide which object should handle a Copy request. I don't
know very much about wxWidgets, so I'm stumped on the issue. Someone else
will have to help out.


Attachment: queryresults-v2.patch
Description: application/octet-stream (13.3 KB)


pgadmin-hackers by date

Next:From: Andreas PflugDate: 2006-02-27 08:18:13
Subject: Re: Query results in grid, new patch
Previous:From: OpenMacNewsDate: 2006-02-27 03:56:34
Subject: Re: Buildproblems on OSX 10.3 due to libxml2

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