Re: PL/pgSQL, RAISE and error context

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:58:24
Message-ID: 5235A0E0.8010606@joh.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 15/09/2013 13:50, I wrote:
> 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.

Hmm. I just noticed there's something weird going on in the select_view
test. I'm investigating this currently.

Regards,
Marko Tiikkaja

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2013-09-15 12:28:00 Re: PL/pgSQL, RAISE and error context
Previous Message Marko Tiikkaja 2013-09-15 11:50:41 Re: PL/pgSQL, RAISE and error context