Darren Ferguson <darren(at)crystalballinc(dot)com> writes:
> RAISE NOTICE is your friend for debugging plpgsql functions
Yeah, that's almost the only tool at the moment. A real debugger, or
even just a trace facility, for plpgsql would be a huge improvement in
usability. We've batted the idea around once or twice I think, but no
one's tried to design or implement one.
regards, tom lane