pgsql: Change reset_extra into a config_generic common field

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Change reset_extra into a config_generic common field
Date: 2025-10-15 13:27:12
Message-ID: E1v91X6-001oyq-0v@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Change reset_extra into a config_generic common field

This is not specific to the GUC parameter type, so it can be part of
the generic struct rather than the type-specific struct (like the
related "extra" field). This allows for some code simplifications.

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/5f4c3b33a97688174dfff44bdbc9ac228095714a

Modified Files
--------------
src/backend/utils/misc/guc.c | 115 +++++++++++------------------------------
src/include/utils/guc_tables.h | 6 +--
2 files changed, 32 insertions(+), 89 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2025-10-15 17:49:27 pgsql: Fix lookups in pg_{clear,restore}_{attribute,relation}_stats().
Previous Message Peter Eisentraut 2025-10-15 12:36:33 pgsql: Add log_autoanalyze_min_duration