Re: Hiding undocumented enum values?

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Magnus Hagander" <magnus(at)hagander(dot)net>, <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Hiding undocumented enum values?
Date: 2008-05-27 16:36:31
Message-ID: 87abibk8kw.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"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?

Well it looks like it's trying to emulate the boolean guc behaviour but with
an extra value. So it would make sense for the output to look like boolean
variables. Do we list the valid values for boolean variables at all? Should
we?

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's Slony Replication support!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-05-27 16:46:03 Re: Bug 3883 revisited
Previous Message Tom Lane 2008-05-27 16:20:45 Hiding undocumented enum values?