SVN Commit by mha: r7476 - branches/REL-1_8_0_PATCHES/pgadmin3/pgadmin/schema

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by mha: r7476 - branches/REL-1_8_0_PATCHES/pgadmin3/pgadmin/schema
Date: 2008-09-18 09:13:03
Message-ID: 200809180913.m8I9D3td012870@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Author: mha

Date: 2008-09-18 10:13:03 +0100 (Thu, 18 Sep 2008)

New Revision: 7476

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7476&view=rev

Log:
Don't run a separate query for the database description for each database,
instead fold it into the main query.

Also, don't refresh the default schema until actually connecting to the
database - previous code ran it in the maintenance database once for each
database in the system, and then again in the actual database after
connection.

Fixes a large performance regression on systems with a very large number
of databases.

Modified:
branches/REL-1_8_0_PATCHES/pgadmin3/pgadmin/schema/pgDatabase.cpp

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2008-09-18 09:27:01 SVN Commit by mha: r7477 - branches/REL-1_8_0_PATCHES/pgadmin3
Previous Message svn 2008-09-18 09:12:51 SVN Commit by mha: r7475 - trunk/pgadmin3/pgadmin/schema