Re: plperl handler for nonfatal warnings

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: plperl handler for nonfatal warnings
Дата
Msg-id 42ADF518.4060000@dunslane.net
обсуждение исходный текст
Ответ на Re: plperl handler for nonfatal warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches

Tom Lane wrote:

>Andrew Dunstan <andrew@dunslane.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



В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: plperl handler for nonfatal warnings
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: plpgsql raise - parameters can be expressions