Author: dpage
Date: 2005-05-10 20:43:06 +0100 (Tue, 10 May 2005)
New Revision: 4176
Modified:
branches/REL-1_2_0_PATCHES/pgadmin3/CHANGELOG.txt
branches/REL-1_2_0_PATCHES/pgadmin3/src/schema/pgIndex.cpp
Log:
Display comments on contraints properly [Hiroshi Saito]
Modified: branches/REL-1_2_0_PATCHES/pgadmin3/CHANGELOG.txt
===================================================================
--- branches/REL-1_2_0_PATCHES/pgadmin3/CHANGELOG.txt 2005-05-10 19:41:08 UTC (rev 4175)
+++ branches/REL-1_2_0_PATCHES/pgadmin3/CHANGELOG.txt 2005-05-10 19:43:06 UTC (rev 4176)
@@ -17,6 +17,7 @@
</ul>
<br>
<ul>
+ <li>2005-05-10 HS 1.2.2 Display comments on contraints properly
<li>2005-04-22 AP 1.2.2 compiles with wx2.6
<li>2005-04-01 DP 1.2.2 Fix changing of view ownership
<li>2005-03-25 DP 1.2.1 Correctly identify primary key columns in properties pane.
Modified: branches/REL-1_2_0_PATCHES/pgadmin3/src/schema/pgIndex.cpp
===================================================================
--- branches/REL-1_2_0_PATCHES/pgadmin3/src/schema/pgIndex.cpp 2005-05-10 19:41:08 UTC (rev 4175)
+++ branches/REL-1_2_0_PATCHES/pgadmin3/src/schema/pgIndex.cpp 2005-05-10 19:43:06 UTC (rev 4176)
@@ -270,7 +270,7 @@
wxT(" JOIN pg_am am ON am.oid=cls.relam\n")
wxT(" LEFT JOIN pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid =
'0')\n")
wxT(" LEFT OUTER JOIN pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid)\n")
- wxT(" LEFT OUTER JOIN pg_description des ON des.objoid=cls.oid\n")
+ wxT(" LEFT OUTER JOIN pg_description des ON des.objoid=con.oid\n")
wxT(" LEFT OUTER JOIN pg_description desp ON (desp.objoid=con.oid AND desp.objsubid = 0)\n")
wxT(" WHERE indrelid = ") + collection->GetOidStr()
+ restriction + wxT("\n")