Change reset_extra into a config_generic common field

Peter Eisentraut <peter@eisentraut.org>

Commit: 5f4c3b33a97688174dfff44bdbc9ac228095714a
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-10-15T13:20:28Z
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.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/8fdfb91e-60fb-44fa-8df6-f5dea47353c9@eisentraut.org

Files

PathChange+/−
src/backend/utils/misc/guc.c modified +31 −84
src/include/utils/guc_tables.h modified +1 −5

Discussion