Re: PL/pgSQL, RAISE and error context - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: PL/pgSQL, RAISE and error context
Date
Msg-id 52359F11.3050503@joh.to
Whole thread Raw
In response to Re: PL/pgSQL, RAISE and error context  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: PL/pgSQL, RAISE and error context
List pgsql-hackers
On 15/09/2013 04:05, Peter Eisentraut wrote:
> On Sat, 2013-09-14 at 04:58 +0200, Marko Tiikkaja wrote:
>> The attached patch (based on Pavel's patch) changes the default to be
>> slightly more verbose (the CONTEXT lines which were previously
>> omitted
>> will be visible), but adds a new PGVerbosity called COMPACT which
>> suppresses CONTEXT in non-error messages.  Now DEFAULT will be more
>> useful when debugging PL/PgSQL, and people who are annoyed by the new
>> behaviour can use the COMPACT mode.
>
> Your patch fails the regression tests.

Attached is an updated patch with the regression test fixes.  No other
changes included.


Regards,
Marko Tiikkaja

Attachment

pgsql-hackers by date:

Previous
From: Marko Tiikkaja
Date:
Subject: Re: plpgsql.print_strict_params
Next
From: Marko Tiikkaja
Date:
Subject: Re: PL/pgSQL, RAISE and error context