Re: plperl handler for nonfatal warnings

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: plperl handler for nonfatal warnings
Date: 2005-06-13 21:05:28
Message-ID: 42ADF518.4060000@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:

>Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>
>>Currently, nonfatal warnings are not trapped (as they should be) by
>>plperl - the attached small patch remedies that omission, and adds a
>>small regression test for error and warning output - the new regression
>>input and expected output are in separate attached files.
>>
>>
>
>Where's the documentation patch ;-)
>
>

If you think it matters enough - I take your smiley to indicate doubt on
the matter :-) - add this sentence somewhere in plperl.sgml:

"Non-fatal warnings either from the perl interpreter or from user code
calling perl's builtin warn() function are translated to NOTICE level
log messages."

cheers

andrew

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Pavel Stehule 2005-06-13 21:24:19 Re: plpgsql raise - parameters can be expressions
Previous Message Tom Lane 2005-06-13 20:42:46 Re: plperl handler for nonfatal warnings