From: dpage Date: Wed, 29 Jul 2009 18:41:40 +0000 (+0000) Subject: Fix an SQL syntax error when viewing the dependencies of a sequence [Ashesh Vashi]. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=96f403715e60a96954b091797466670385adce19;p=users%2Fquan74%2Fpgadmin-import.git Fix an SQL syntax error when viewing the dependencies of a sequence [Ashesh Vashi]. git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7988 a7884b65-44f6-0310-8a51-81a127f17b15 --- diff --git a/CHANGELOG b/CHANGELOG index 828b8daf1..c5dc0af9d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -36,6 +36,8 @@ Changes Date Dev Ver Change details ---------- --- ------ -------------- +2009-07-29 DP 1.10.1 Fix an SQL syntax error when viewing the dependencies of + a sequence [Ashesh Vashi]. 2009-07-24 GL 1.10.1 Better fix for schedule and step dialogs. 2009-07-24 GL 1.12.0 More statistics on various objects, databases, indexes, and functions (8.4+ only for the last one). diff --git a/pgadmin/schema/pgObject.cpp b/pgadmin/schema/pgObject.cpp index f42fee8fc..8c05fea7e 100644 --- a/pgadmin/schema/pgObject.cpp +++ b/pgadmin/schema/pgObject.cpp @@ -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")