Thread: guc config_enum_entry add hidden field

guc config_enum_entry add hidden field

From
"Alex Hunsaker"
Date:
Tom Lane" <tgl@sss.pgh.pa.us> writes:
> I am wondering if it's a good idea to hide the redundant entries
> to reduce clutter in the pg_settings display.  (We could do this
> by adding a "hidden" boolean to struct config_enum_entry.)
> Thoughts?

The Attached patch does just that...

Attachment

Re: guc config_enum_entry add hidden field

From
Magnus Hagander
Date:
Alex Hunsaker wrote:
> Tom Lane" <tgl@sss.pgh.pa.us> writes:
> > I am wondering if it's a good idea to hide the redundant entries
> > to reduce clutter in the pg_settings display.  (We could do this
> > by adding a "hidden" boolean to struct config_enum_entry.)
> > Thoughts?
>
> The Attached patch does just that...

Applied with some minor modifications.

//Magnus