EmitWarningsOnPlaceholders is too quiet

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: EmitWarningsOnPlaceholders is too quiet
Date: 2009-01-05 13:46:52
Message-ID: 19156.1231163212@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.)

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-01-05 13:48:11 Re: dblink vs SQL/MED - security and implementation details
Previous Message Peter Eisentraut 2009-01-05 13:32:52 Re: SQL/MED compatible connection manager