bug fix issues#8 (dropping overloaded procedures)

This commit is contained in:
lsv 2020-09-02 14:05:16 +05:00 committed by levinsv
parent 428ceaa70f
commit 5ff5c0b52e

View file

@ -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);
}