Author: andreas
Date: 2005-11-09 14:31:57 +0000 (Wed, 09 Nov 2005)
New Revision: 4714
Modified:
trunk/pgadmin3/CHANGELOG.txt
trunk/pgadmin3/src/include/pgFunction.h
trunk/pgadmin3/src/schema/pgFunction.cpp
Log:
fix procedure/triggerFunc collection list
Modified: trunk/pgadmin3/CHANGELOG.txt
===================================================================
--- trunk/pgadmin3/CHANGELOG.txt 2005-11-09 11:41:18 UTC (rev 4713)
+++ trunk/pgadmin3/CHANGELOG.txt 2005-11-09 14:31:57 UTC (rev 4714)
@@ -17,6 +17,7 @@
</ul>
<br>
<ul>
+ <li>2005-11-09 AP 1.4.1 fix procedure/triggerFunc collection list
<li>2005-11-09 AP 1.4.1 Allow all 8.x column changes (r: Chris Velevitch)
<li>2005-11-09 DP Add search/replace to the query editor
<li>2005-11-09 AP 1.4.1 Fix param name quoting for procedures (r: Alex Tyagloff)
Modified: trunk/pgadmin3/src/include/pgFunction.h
===================================================================
--- trunk/pgadmin3/src/include/pgFunction.h 2005-11-09 11:41:18 UTC (rev 4713)
+++ trunk/pgadmin3/src/include/pgFunction.h 2005-11-09 14:31:57 UTC (rev 4714)
@@ -34,6 +34,7 @@
{
public:
pgFunction(pgSchema *newSchema, const wxString& newName = wxT(""));
+ pgFunction(pgSchema *newSchema, pgaFactory &factory, const wxString& newName = wxT(""));
~pgFunction();
Modified: trunk/pgadmin3/src/schema/pgFunction.cpp
===================================================================
--- trunk/pgadmin3/src/schema/pgFunction.cpp 2005-11-09 11:41:18 UTC (rev 4713)
+++ trunk/pgadmin3/src/schema/pgFunction.cpp 2005-11-09 14:31:57 UTC (rev 4714)
@@ -23,6 +23,13 @@
{
}
+
+pgFunction::pgFunction(pgSchema *newSchema, pgaFactory &factory, const wxString& newName)
+: pgSchemaObject(newSchema, factory, newName)
+{
+}
+
+
pgFunction::~pgFunction()
{
}
@@ -42,12 +49,12 @@
}
pgTriggerFunction::pgTriggerFunction(pgSchema *newSchema, const wxString& newName)
-: pgFunction(newSchema, newName)
+: pgFunction(newSchema, triggerFunctionFactory, newName)
{
}
pgProcedure::pgProcedure(pgSchema *newSchema, const wxString& newName)
-: pgFunction(newSchema, newName)
+: pgFunction(newSchema, procedureFactory, newName)
{
}