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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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();
}

Browse pgadmin-hackers by date

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