Mark Dilger <mark.dil...@enterprisedb.com> writes: > On Apr 4, 2022, at 2:26 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: >> So I think that instead of what you've got here, we should >> (1) apply the map_old_guc_names[] mapping, which is constant >> (for any one PG release anyway) >> (2) smash to lower case >> (3) verify validity per valid_variable_name. >> >> This also simplifies life on the lookup side, where it's sufficient >> to do steps (1) and (2) before performing a catalog search. >> >> Thoughts?
> That sounds right. Do you already have something like that coded, or would > you like me to post a patch? Wrote it already, no need for you to do it. regards, tom lane