Re: [PATCH] Warn when io_min_workers exceeds io_max_workers

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: baji.pgdev@gmail.com, tristan@partin.io, pgsql-hackers@lists.postgresql.org
Date: 2026-06-23T22:13:41Z
Lists: pgsql-hackers
On Tue, Jun 23, 2026 at 02:36:32PM +0900, Kyotaro Horiguchi wrote:
> As Michael suggested, using placeholders for the GUC names could make
> similar messages easier to share in the future, which may also help
> reduce the number of translation strings. I wouldn't consider it
> necessary to adjust the existing
> autovacuum_max_workers/autovacuum_worker_slots message as part of this
> patch, though.

Yes.  A lot of messages of v19 should already be translated, I guess?
I don't think that this is something we have to do in v19, so let's
just align everything once v20 opens up (minus tweaks to the wording
of the strings).
--
Michael

Commits

  1. Use placeholders and not GUC names in error message (autovacuum)