pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Generate translator comments for GUC parameter descriptions
Date: Fri, 28 Nov 2025 15:07:22 +0000
Message-ID: <E1vP049-001pFe-27@gemulon.postgresql.org> (raw)

Generate translator comments for GUC parameter descriptions

Automatically generate comments like

    /* translator: GUC parameter "client_min_messages" short description */

in the generated guc_tables.inc.c.

This provides translators more context.

Reviewed-by: Pavlo Golub <pavlo.golub@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Stéphane Schildknecht <sas.postgresql@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/1a89b3f0-e588-41ef-b712-aba766143cad%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/87c6f8b047d5b0790e6f8b8532f4adf58dc60f67

Modified Files
--------------
src/backend/utils/misc/gen_guc_tables.pl | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)



Message-ID: <E1vP049-001pFe-27@gemulon.postgresql.org>
Permalink:  ../E1vP049-001pFe-27@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vP049-001pFe-27@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Generate translator comments for GUC parameter descriptions
  In-Reply-To: <E1vP049-001pFe-27@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox