Re: plpgsql: Debug function? - Mailing list pgsql-hackers

From Joel Burton
Subject Re: plpgsql: Debug function?
Date
Msg-id Pine.LNX.4.21.0107251112590.19406-100000@olympus.scw.org
Whole thread Raw
In response to plpgsql: Debug function?  (Turbo Fredriksson <turbo@bayour.com>)
List 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



pgsql-hackers by date:

Previous
From: Turbo Fredriksson
Date:
Subject: Re: plpgsql: Debug function?
Next
From: Tom Lane
Date:
Subject: Re: PostgreSQL 7.0 problem (may be bug?)