guc config_enum_entry add hidden field

Lists: pgsql-patches
From: "Alex Hunsaker" <badalex(at)gmail(dot)com>
To: "Pg Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: guc config_enum_entry add hidden field
Date: 2008-05-27 18:29:51
Message-ID: 34d269d40805271129p1e310dc7k49435ba2a8300478@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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 Content-Type Size
guc_config_enum_entry_hide.patch application/octet-stream 7.9 KB

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: "Alex Hunsaker" <badalex(at)gmail(dot)com>
Cc: "Pg Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: guc config_enum_entry add hidden field
Date: 2008-05-28 09:04:14
Message-ID: 20080528110414.4bb3219c@mha-laptop.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Alex Hunsaker wrote:
> Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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