SVN Commit by andreas: r4432 - trunk/pgadmin3/src/dlg - Mailing list pgadmin-hackers

From svn@pgadmin.org
Subject SVN Commit by andreas: r4432 - trunk/pgadmin3/src/dlg
Date
Msg-id 200509101724.j8AHOnYh011076@developer.pgadmin.org
Whole thread Raw
List 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:

Previous
From: blacknoz@club-internet.fr
Date:
Subject: Re: Pgadmin III connection error
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by andreas: r4433 - trunk/pgadmin3/src/ctl