Re: Add sanity check for duplicate enum values in GUC definitions - Mailing list pgsql-hackers

From Zsolt Parragi
Subject Re: Add sanity check for duplicate enum values in GUC definitions
Date
Msg-id CAN4CZFPVqXiBTNFG8DKLvcWWNgExbOdQPBO8+L=i=uh9KTBtQg@mail.gmail.com
Whole thread Raw
In response to Add sanity check for duplicate enum values in GUC definitions  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: Add sanity check for duplicate enum values in GUC definitions
List 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?



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fixing the btree_gist inet mess
Next
From: Sami Imseih
Date:
Subject: Re: Support named (destination) portals in extended proto for psql meta commands.