Re: EmitWarningsOnPlaceholders is too quiet - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: EmitWarningsOnPlaceholders is too quiet
Date
Msg-id 200901051634.n05GYNr06169@momjian.us
Whole thread Raw
In response to EmitWarningsOnPlaceholders is too quiet  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: EmitWarningsOnPlaceholders is too quiet  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: "Robert Haas"
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1386)
Next
From: Peter Eisentraut
Date:
Subject: Re: Significantly larger toast tables on 8.4?