pgsql: Generate translator comments for GUC parameter descriptions

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Generate translator comments for GUC parameter descriptions
Date: 2025-11-28 15:07:22
Message-ID: E1vP049-001pFe-27@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)golub(at)gmail(dot)com>
Reviewed-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Reviewed-by: Stéphane Schildknecht <sas(dot)postgresql(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Frédéric Yhuel 2025-11-28 15:17:47 Re: pgsql: Increase BAS_BULKREAD based on effective_io_concurrency
Previous Message Peter Eisentraut 2025-11-28 07:39:15 pgsql: Fix pg_isblank()