On Wed, Jan 05, 2022 at 10:45:06AM +0530, Dilip Kumar wrote: > +1 to convert to LOG when log_checkpoints is set.
On Thu, Jan 06, 2022 at 04:34:38PM +0900, Kyotaro Horiguchi wrote: > Agreed. -1 to just raising elevel of the message. On Thu, Jan 06, 2022 at 06:58:14PM +0800, Julien Rouhaud wrote: > -1 too. > > > If someone keen to show some debug messages, it is viable for > > arbitrary messages by lowering log_min_messages then inserting a > > custom filter to emit_log_hook. It invites some overhead on > > irrelevant processes, but that overhead would be avoidable with a > > *bit* dirty hack in the filter, > > > > We might want to discuss more convenient or cleaner way to get the > > same result. > > We could add a checkpoint_skipped counter to pg_stat_bgwriter for instance. +1 (cc Melanie) Bharath: there's no agreement that this behavior change is desirable, so I suggest to close the CF entry. Actually, I suggest to not immediately create CF entries; instead, wait to see if there's any objections or discussion. FWIW, I try to wait a day before creating a CF entry, since the scope/goal/desirability of a thread can change dramatically. This avoids burdening reviewers with the task of later discussing whether it's okay to close a CF entry. -- Justin