Hi Dave,

If we have blank lines in the package body in package property dialog and
then try edit any other properties of the package result into this error.
"EDB-00202: Package body does not exit"
Please find the patch for the same.
This 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: dlg/dlgPackage.cpp
===================================================================
--- dlg/dlgPackage.cpp	(revision 8417)
+++ dlg/dlgPackage.cpp	(working copy)
@@ -181,7 +181,7 @@
         }
         else
         {
-            if (package)
+            if (package && !package->GetBodyInner().Trim().IsEmpty())
                 sql = wxT("DROP PACKAGE BODY ") + qtName + wxT(";\n\n");
         }
     }
-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to