From 5ff5c0b52eb65f26b7ef55decb4977f6f2d5c7ab Mon Sep 17 00:00:00 2001 From: lsv Date: Wed, 2 Sep 2020 14:05:16 +0500 Subject: [PATCH] bug fix issues#8 (dropping overloaded procedures) --- schema/pgFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/pgFunction.cpp b/schema/pgFunction.cpp index 80b503e..2e2a694 100644 --- a/schema/pgFunction.cpp +++ b/schema/pgFunction.cpp @@ -509,7 +509,7 @@ bool pgProcedure::DropObject(wxFrame *frame, ctlTree *browser, bool cascaded) if (!GetConnection()->BackendMinimumVersion(11, 0)) return pgFunction::DropObject(frame, browser, cascaded); - wxString sql = wxT("DROP PROCEDURE ") + this->GetSchema()->GetQuotedIdentifier() + wxT(".") + this->GetQuotedIdentifier(); + wxString sql = wxT("DROP PROCEDURE ") + this->GetSchema()->GetQuotedIdentifier() + wxT(".") + this->GetQuotedIdentifier() + wxT("(") + this->GetArgSigList() + wxT(")");; return GetDatabase()->ExecuteVoid(sql); }