Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Use CALL to execute callable statements, not PERFORM [Ashesh Vashi]
git-svn-id: svn://svn.pgadmin.org/branches/REL-1_10_0_PATCHES@8394 a7884b65-44f6-0310-8a51-81a127f17b15
  • Loading branch information
dpage committed May 27, 2010
1 parent e2ced30 commit 26404d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -36,6 +36,7 @@ Changes

Date Dev Ver Change details
---------- --- ------ --------------
2010-05-27 AV 1.10.4 Use CALL to execute callable statements, not PERFORM.
2010-05-21 AV 1.10.4 Drop package bodies correctly if they only contain
whitespace.
2010-05-21 AV 1.10.4 Fix a typo in the stored procedure debugger invocation
Expand Down
3 changes: 1 addition & 2 deletions pgadmin/debugger/dlgDirectDbg.cpp
Expand Up @@ -583,8 +583,7 @@ void dlgDirectDbg::invokeTargetCallable()
{
dbgPgParams *params = new dbgPgParams();

wxString query = m_targetInfo->getIsFunction() ? wxT("PERFORM ") : wxT("EXEC ");
query += m_targetInfo->getFQName() + wxT("(");
wxString query = wxT("CALL ") + m_targetInfo->getFQName() + wxT("(");

// Setup the param struct.
params->nParams = m_targetInfo->getArgCount();
Expand Down

0 comments on commit 26404d8

Please sign in to comment.