"Celia McInnis" <celia(at)drmath(dot)ca> writes:
> Is there some better way to print out debugging info from a stored procedure?
Not really. The RAISE statement needs some TLC, basically, but no one's
gotten around to it. Aside from the prohibition on expressions, which
is just silly, it needs to support specifying an error code when
throwing errors ...
regards, tom lane