Re: Call stacks and RAISE INFO - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Call stacks and RAISE INFO
Date
Msg-id 26487.1318629320@sss.pgh.pa.us
Whole thread Raw
In response to Re: Call stacks and RAISE INFO  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> In any case, this doesn't address the inconsistency of supressing
> CONTEXT for the first level of the call stack with RAISE INFO but not
> for the others.  (RAISE EXCEPTION shows CONTEXT for all levels of the
> call stack).

Oh?  I don't see that.  AFAICT the behavior is not dependent on the
error severity level.  RAISE just automatically suppresses the context
line from the current plpgsql function.  Not sure if we need to make
that part of the behavior configurable or not.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Call stacks and RAISE INFO
Next
From: Robert Haas
Date:
Subject: Re: WIP: collect frequency statistics for arrays