Skip site navigation (1) Skip section navigation (2)

SVN Commit by andreas: r4432 - trunk/pgadmin3/src/dlg

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by andreas: r4432 - trunk/pgadmin3/src/dlg
Date: 2005-09-10 17:24:49
Message-ID: 200509101724.j8AHOnYh011076@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Author: andreas
Date: 2005-09-10 18:24:48 +0100 (Sat, 10 Sep 2005)
New Revision: 4432

Modified:
   trunk/pgadmin3/src/dlg/dlgFunction.cpp
Log:
Fix trigger function detection

Modified: trunk/pgadmin3/src/dlg/dlgFunction.cpp
===================================================================
--- trunk/pgadmin3/src/dlg/dlgFunction.cpp	2005-09-06 19:07:50 UTC (rev 4431)
+++ trunk/pgadmin3/src/dlg/dlgFunction.cpp	2005-09-10 17:24:48 UTC (rev 4432)
@@ -142,7 +142,7 @@
     // the listview's column that contains the type name
     typeColNo = (connection->BackendMinimumVersion(7, 5) ? 1 : 0);
 
-    if (factory == &triggerFunctionFactory)
+    if (factory != &triggerFunctionFactory)
     {
         if (typeColNo)
             lstArguments->CreateColumns(0, _("Name"), _("Type"));
@@ -258,7 +258,7 @@
             types.Add(tr.GetQuotedSchemaPrefix() + dt.QuotedFullName());
 
             cbDatatype->Append(tr.GetSchemaPrefix() + dt.FullName());
-            if (factory == &triggerFunctionFactory)
+            if (factory != &triggerFunctionFactory)
                 cbReturntype->Append(tr.GetSchemaPrefix() + dt.FullName());
             tr.MoveNext();
         }


pgadmin-hackers by date

Next:From: svnDate: 2005-09-10 17:28:58
Subject: SVN Commit by andreas: r4433 - trunk/pgadmin3/src/ctl
Previous:From: blacknozDate: 2005-09-09 07:52:10
Subject: Re: Pgadmin III connection error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group