Re: warn in plperl logs as... NOTICE??

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Jim Nasby <jim(at)nasby(dot)net>, "pgsql-hackers(at)postgresql(dot)org Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: warn in plperl logs as... NOTICE??
Date: 2010-01-22 00:14:12
Message-ID: 17076.1264119252@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Jim Nasby wrote:
>> Why does warn; in plperl log as NOTICE in Postgres?

> Where would you like the warning to go? This has been this way for
> nearly 5 years, it's not new (and before that the warning didn't go
> anywhere).

I think he's suggesting that it ought to translate as elog(WARNING)
not elog(NOTICE).

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-01-22 00:22:09 Re: 8.5 vs. 9.0
Previous Message Robert Haas 2010-01-22 00:12:05 Re: commit fests (was Re: primary key error message)