Change reset_extra into a config_generic common field
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 15 Oct 2025 13:20:28 +0000 (15:20 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 15 Oct 2025 13:20:28 +0000 (15:20 +0200)
commit5f4c3b33a97688174dfff44bdbc9ac228095714a
tree4ef71c46b9f35e2eb62fd7396222ced64deb8ab0
parentdd3ae378301f7e84c18f7a90f183c3cd4165c0da
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
src/backend/utils/misc/guc.c
src/include/utils/guc_tables.h