agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use placeholders and not GUC names in error message (autovacuum)
Date: Tue, 30 Jun 2026 07:17:51 +0000
Message-ID: <E1weSj9-000kch-1M@gemulon.postgresql.org> (raw)

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

A placeholder %s is now used instead of the GUC names in the error
string of this routine.  This is going to be useful for a follow-up
patch, where we will be able to reuse the same string, hence reducing
the translation work.

Based on a suggestion by me.

Author: Baji Shaik <baji.pgdev@gmail.com>
Discussion: https://postgr.es/m/ajnhfw84reaXgjfO@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7905416eef9b2ad2ff8783330d830ef2c28bef2a

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)



Message-ID: <E1weSj9-000kch-1M@gemulon.postgresql.org>
Permalink:  ../E1weSj9-000kch-1M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1weSj9-000kch-1M@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use placeholders and not GUC names in error message (autovacuum)
  In-Reply-To: <E1weSj9-000kch-1M@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox