pgsql: Use designated initializers for guc_tables

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use designated initializers for guc_tables
Date: 2025-10-17 08:37:52
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use designated initializers for guc_tables

This makes the generating script simpler and the output easier to
read. In the future, it will make it easier to reorder and rearrange
the underlying C structures.

Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/8fdfb91e-60fb-44fa-8df6-f5dea47353c9(at)eisentraut(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0a7bde46101697ece7549df29078ff9417347438

Modified Files
--------------
src/backend/utils/misc/gen_guc_tables.pl | 53 +++++++++++++-------------------
1 file changed, 22 insertions(+), 31 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-10-17 13:05:47 pgsql: Avoid warnings in tests when openssl binary isn't available
Previous Message Daniel Gustafsson 2025-10-17 08:17:32 pgsql: ecpg: check return value of replace_variables()