From: | Marko Tiikkaja <marko(at)joh(dot)to> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: PL/pgSQL, RAISE and error context |
Date: | 2013-09-15 11:50:41 |
Message-ID: | 52359F11.3050503@joh.to |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
raise_context_v2.patch | text/plain | 112.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Marko Tiikkaja | 2013-09-15 11:58:24 | Re: PL/pgSQL, RAISE and error context |
Previous Message | Marko Tiikkaja | 2013-09-15 11:49:38 | Re: plpgsql.print_strict_params |