EmitWarningsOnPlaceholders is too quiet - Mailing list pgsql-hackers

From Tom Lane
Subject EmitWarningsOnPlaceholders is too quiet
Date
Msg-id 19156.1231163212@sss.pgh.pa.us
Whole thread Raw
Responses Re: EmitWarningsOnPlaceholders is too quiet  (Bruce Momjian <bruce@momjian.us>)
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Many "loaded library" logs by preload libraries
Next
From: Zdenek Kotala
Date:
Subject: Re: version() output vs. 32/64 bits