HI Dave,

Please find the patch for the same.
If plpgsql does have out parameter, it fails to debug.

This patch will apply on both trunk and REL-1_10_PATCHES branch.

--
Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise Postgres Company<http://www.enterprisedb.com>
Index: debugger/dlgDirectDbg.cpp
===================================================================
--- debugger/dlgDirectDbg.cpp	(revision 8413)
+++ debugger/dlgDirectDbg.cpp	(working copy)
@@ -691,6 +691,11 @@
                 declareStatement += wxT(";\n");
                 query.Append(strParam + wxT(", "));
             }
+            else if (arg.getMode() == wxT("o"))
+            {
+                if (arg.getValue() != wxT(""))
+                    query.Append( arg.quoteValue() + wxT("::") + arg.getType() + wxT(", "));
+            }
             else
                 query.Append( arg.quoteValue() + wxT("::") + arg.getType() + wxT(", "));
         }
-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to