Sorry if this isn’t the right forum for this question... But, I noticed that Alvaro wrote
“... we don't have good debugging support in pl/pgsql ...”
I got to thinking it’d be kewl if PgAdmin3 supported an interactive debugger for pl/pgsql. If anyone’s interested in expertly tackling such a community project, with some financial sponsorship from EDB, please contact me privately.
--Denis Lussier
Founder & Chief Dweeb
EnterpriseDB