pgsql: Fix enum value visibility for data_checksums

Started by Daniel Gustafsson2 months ago1 messagescommitters
Jump to latest
#1Daniel Gustafsson
dgustafsson@postgresql.org

Fix enum value visibility for data_checksums

When the data_checksums GUC was changed into an enum the enum values
were all incorrectly marked as hidden, which made pg_settings report
an empty array. Fix by setting all as visible as they should be.

Found by Noah using AI assisted review with GPT. Backpatch to v19
where the GUC was changed in the online checksums feature.

Reported-by: Noah Misch <noah@leadboat.com>
Discussion: /messages/by-id/E15AC050-C4B5-488D-BB2D-3C7AC9F89EA8@yesql.se
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3954d740c48750731d4a17766f3cb7b450856ed1

Modified Files
--------------
src/backend/utils/misc/guc_tables.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)