Re: warning message in standby
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>, Bruce Momjian <bruce@momjian.us>, Magnus Hagander <magnus@hagander.net>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Fujii Masao <masao.fujii@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-06-14T15:38:43Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes: > On Mon, Jun 14, 2010 at 11:09 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> If a message is being issued in a non-user-connected session, there >> is basically not a lot of point in WARNING or below. It should either >> be LOG, or ERROR/FATAL/PANIC (which are probably all about the same >> thing in the startup process...) > I think Simon's point here is the same as mine - LOG isn't too high - > it's too low. If he wants to throw ERROR, that's fine with me. If your point is that you think WARNING is more severe than LOG, the answer is that you need to readjust your thinking. It's not. See the sort order for log_min_messages values. regards, tom lane