plpgsql: Debug function?

Turbo Fredriksson <turbo@bayour.com>

From: Turbo Fredriksson <turbo@bayour.com>
To: pgsql-hackers@postgresql.org
Date: 2001-07-25T13:46:27Z
Lists: pgsql-hackers
Is there a way to debug a PL/pgSQL function? It's behaving very irradic!

I have two function, one that works and one that doesn't. The part that
don't work in func2 is 'SELECT INTO ... ...' and I can't figgure out
why it doesnt't work!

-- 
 Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just 
 ^^^^^    / /(_)_ __  _   ___  __  selective about who its friends are 
         / / | | '_ \| | | \ \/ /   Debian Certified Linux Developer  
  _ /// / /__| | | | | |_| |>  <  Turbo Fredriksson   turbo@tripnet.se
  \\\/  \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden

colonel fissionable assassination Cuba World Trade Center strategic
smuggle congress Rule Psix cryptographic SDI critical Kennedy Semtex
FBI
[See http://www.aclu.org/echelonwatch/index.html for more about this]