Re: EmitWarningsOnPlaceholders is too quiet

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: EmitWarningsOnPlaceholders is too quiet
Date: 2009-01-05 16:34:23
Message-ID: 200901051634.n05GYNr06169@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> I notice that EmitWarningsOnPlaceholders produces its warning messages
> at elog level INFO, which makes it nearly useless for bogus custom
> variable settings for a preloaded module: the only place such a module
> can warn is in the postmaster log, but INFO is too low to go into the
> postmaster log by default.
>
> Perhaps we should use WARNING instead?
>
> (I'm actually kind of wondering what the INFO elog level is good for,
> as this is just about the only use and it seems wrong.)

+1 for one less logging level.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-01-05 16:45:49 Re: Significantly larger toast tables on 8.4?
Previous Message Douglas McNaught 2009-01-05 16:30:59 Re: QuickLZ compression algorithm (Re: Inclusion in the PostgreSQL backend for toasting rows)