Re: Add sanity check for duplicate enum values in GUC definitions
Zsolt Parragi <zsolt.parragi@percona.com>
From: Zsolt Parragi <zsolt.parragi@percona.com>
To: Chao Li <li.evan.chao@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-17T21:32:56Z
Lists: pgsql-hackers
Hello > . While working on [1]. I added an enum-typed GUC I wanted to check the original issue, but the linked patch adds a boolean GUC (logical_replication_fallback_to_full_identity), I did not see enum mentioned anywhere in the diff, did you link the correct thread? > Ideally, such a check would run at compile time, but that would require parsing guc_tables.c with Perl Maybe you could compile a utility executable as part of the build, and execute it as part of the test suite?