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

pgAdmin III commit: Refactor the listview population code andoptimise

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Refactor the listview population code andoptimise
Date: 2011-06-03 11:16:12
Message-ID: 201106031116.p53BGCWj064831@gothos.postgresql.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Refactor the listview population code and optimise in a number of
ways:
- Only load data into listviews that are currently visible, or are
  about to become visible.
- Avoid loading statistics, dependencies and dependents twice(!)
  every time the current object selection changes.
- Centralise the refresh and reset code.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=00892aab45144a4a068ead9d00871e534c7a4770

Modified Files
--------------
pgadmin/frm/events.cpp        |   29 ++++++++++++++++-----
pgadmin/frm/frmMain.cpp       |   57 +++++++++++++++++++++++++++-------------
pgadmin/include/frm/frmMain.h |    4 ++-
pgadmin/schema/pgObject.cpp   |   19 +-------------
4 files changed, 64 insertions(+), 45 deletions(-)

pgadmin-hackers by date

Next:From: Dave PageDate: 2011-06-03 11:41:32
Subject: pgAdmin III commit: make style
Previous:From: Dave PageDate: 2011-06-02 20:20:41
Subject: pgAdmin III commit: Show datatypes in a more sensible order. Withoutau

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