Re: plpgsql: Debug function?

Joel Burton <jburton@scw.org>

From: Joel Burton <jburton@scw.org>
To: Turbo Fredriksson <turbo@bayour.com>
Cc: pgsql-hackers@postgresql.org
Date: 2001-07-25T15:13:34Z
Lists: pgsql-hackers
On 25 Jul 2001, Turbo Fredriksson wrote:

> Is there a way to debug a PL/pgSQL function? It's behaving very irradic!

It's crude, but you can output debugging statements w/ RAISE NOTICE
or catch flawed assumptions by RAISE EXCEPTION.

-- 
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington