Hi Dave,
PFA.
EnterpriseDB 8.3 or earlier does not support to debug function for plpgsql
or edbsqpl by the non-superuser (even not by the owner).
--
Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise Postgres Company<http://www.enterprisedb.com>
Index: debugger/debugger.cpp
===================================================================
--- debugger/debugger.cpp (revision 8291)
+++ debugger/debugger.cpp (working copy)
@@ -114,6 +114,10 @@
if (!obj->GetServer() || !(obj->GetServer()->GetSuperUser() || obj->GetServer()->GetUsername() == obj->GetOwner()))
return false;
+ // EnterpriseDB 8.3 or earlier does not support debugging by the non-superuser
+ if (!obj->GetServer()->GetSuperUser() && !obj->GetConnection()->EdbMinimumVersion(8, 4))
+ return false;
+
if (!obj->IsCollection())
{
switch (obj->GetMetaType())
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers