From: | svn(at)pgadmin(dot)org |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | SVN Commit by dpage: r4846 - in branches/REL-1_4_0_PATCHES/pgadmin3: . src/schema |
Date: | 2005-12-15 09:28:08 |
Message-ID: | 200512150928.jBF9S8Pr021424@developer.pgadmin.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Author: dpage
Date: 2005-12-15 09:28:08 +0000 (Thu, 15 Dec 2005)
New Revision: 4846
Modified:
branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt
branches/REL-1_4_0_PATCHES/pgadmin3/src/schema/pgSchema.cpp
Log:
Exclude system schemas by name rather than OID, so that 'public' can be safely renamed.
Modified: branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt 2005-12-15 08:24:28 UTC (rev 4845)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/CHANGELOG.txt 2005-12-15 09:28:08 UTC (rev 4846)
@@ -18,6 +18,10 @@
</ul>
<br>
<ul>
+ <li>2005-12-15 DP 1.4.2 Exclude system schemas by name rather than OID, so that 'public' can be safely renamed.
+ <li>2005-12-12 AP 1.4.2 fix slony node statistics
+ <li>2005-12-11 AP 1.4.2 Fix: Unsubscribe set on receiver
+ <li>2005-12-11 AP 1.4.2 Another wxComboBox(2.6.2) related fix
<li>2005-12-09 DP 1.4.1 Default the encoding of new databases to the cluster encoding, per Peter Eisentraut.
<li>2005-12-09 DP 1.4.1 Sort encoding names in dlgDatabase, per Peter Eisentraut.
<li>2005-12-06 AP 1.4.1 store UTF8 connect info in pgpass.conf if necessary
Modified: branches/REL-1_4_0_PATCHES/pgadmin3/src/schema/pgSchema.cpp
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/src/schema/pgSchema.cpp 2005-12-15 08:24:28 UTC (rev 4845)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/src/schema/pgSchema.cpp 2005-12-15 09:28:08 UTC (rev 4846)
@@ -163,8 +163,7 @@
pgSet *schemas = collection->GetDatabase()->ExecuteSet(
wxT("SELECT CASE WHEN nspname LIKE 'pg\\_temp\\_%%' THEN 1\n")
- wxT(" WHEN (nsp.oid<") + NumToStr(collection->GetServer()->GetLastSystemOID()) +
- wxT(" OR nspname like 'pg\\_%') AND nspname != 'public' THEN 0\n")
+ wxT(" WHEN (nspname LIKE 'pg\\_%' OR nspname = 'information_schema') THEN 0\n")
wxT(" ELSE 3 END AS nsptyp,\n")
wxT(" nsp.nspname, nsp.oid, pg_get_userbyid(nspowner) AS namespaceowner, nspacl, description,")
wxT(" has_schema_privilege(nsp.oid, 'CREATE') as cancreate\n")
From | Date | Subject | |
---|---|---|---|
Next Message | svn | 2005-12-15 09:28:23 | SVN Commit by dpage: r4847 - in trunk/pgadmin3: . src/schema |
Previous Message | svn | 2005-12-15 08:24:28 | SVN Commit by dpage: r4845 - trunk/www/pgadmin3/cnt |