On Mon, Sep 26, 2022 at 12:16:24AM -0400, Tom Lane wrote:
> Yeah, but why? I see no good reason why those fields need to be first.
My reasoning on these ones is that we are most likely going to add
more description flags in the future than new unit types. Perhaps I
am wrong.
> Looking at it closer, I agree that GUC_EXPLAIN and GUC_RUNTIME_COMPUTED
> should be moved to be with the other non-units flags. But I don't
> see why we need to re-order the entries more than that. I'm concerned
> for one thing that the order of the entries in this list stay comparable
> to the order in which the flags are dealt with in other code, such as
> pg_settings_get_flags or the guc_tables.c entries.
Yes, that's a minimal move.
--
Michael