Re: Disallow setting client_min_messages > ERROR?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2018-11-06T16:37:40Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > On 2018-11-06 11:19:40 -0500, Tom Lane wrote: >> Hence, I propose that we should disallow setting client_min_messages >> any higher than ERROR, and that this probably even amounts to a >> back-patchable bug fix. >> >> Thoughts? > Seems reasonable. I do think it's probably sensible to backpatch, > although I wonder if we shouldn't clamp the value to ERROR at log > emission error time, rather than via guc.c, so we don't prevent old code > / postgresql.conf that set client_min_messages to > ERROR. Hm, do you really think there is any? And if there is, wouldn't we be breaking it anyway thanks to the behavioral change? regards, tom lane
Commits
-
Disallow setting client_min_messages higher than ERROR.
- c09daa910409 10.7 landed
- 7b08b4a8adbb 11.2 landed
- 3d360e20c9ae 12.0 landed
- 88275ac19900 9.5.16 landed
- 2407d4807fdc 9.4.21 landed
- 041ad9a66d28 9.6.12 landed