Fix an SQL syntax error when viewing the dependencies of a sequence [Ashesh Vashi].
authordpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Wed, 29 Jul 2009 18:41:40 +0000 (18:41 +0000)
committerdpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Wed, 29 Jul 2009 18:41:40 +0000 (18:41 +0000)
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7988 a7884b65-44f6-0310-8a51-81a127f17b15

CHANGELOG
pgadmin/schema/pgObject.cpp

index 828b8daf1b1f5692cdbbf8f5d792b8fda0eb5700..c5dc0af9d32856303c08b5825666031f3bba2695 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -36,6 +36,8 @@ Changes
 \r
 Date       Dev Ver     Change details\r
 ---------- --- ------  --------------\r
+2009-07-29 DP  1.10.1  Fix an SQL syntax error when viewing the dependencies of \r
+                       a sequence [Ashesh Vashi].\r
 2009-07-24 GL  1.10.1  Better fix for schedule and step dialogs.\r
 2009-07-24 GL  1.12.0  More statistics on various objects, databases, indexes,\r
                        and functions (8.4+ only for the last one).\r
index f42fee8fcd90ed695409a50a65f6eef40ce3a916..8c05fea7e06b5eb00d137fb719e560dcc74988c3 100644 (file)
@@ -478,7 +478,7 @@ void pgObject::ShowDependencies(frmMain *form, ctlListView *Dependencies, const
             */
             pgSetIterator set(conn, 
                 wxT("SELECT \n")
-                wxT("  CASE WHEN att.attname IS NOT NULL AND ref.relname IS NOT NULL THEN ref.relname || '.' att.attname\n")
+                wxT("  CASE WHEN att.attname IS NOT NULL AND ref.relname IS NOT NULL THEN ref.relname || '.' || att.attname\n")
                 wxT("       ELSE ref.relname \n")
                 wxT("  END AS refname, \n")
                 wxT("  d2.refclassid, d1.deptype AS deptype\n")