Skip site navigation (1) Skip section navigation (2)

Re: Hiding undocumented enum values?

From: "Alex Hunsaker" <badalex(at)gmail(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 17:27:00
Message-ID: 34d269d40805271027t7ae733fcj656e35d927706ebb@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, May 27, 2008 at 10:20 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> 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?

+1

>                        regards, tom lane

Maybe something like the attached patch?

I looked into just making it a string so we could use parse_bool...
because backslash_quote seems to be the exception not the rule.  But I
decided having a hidden flag seems more useful anyway...

Attachment: guc.patch
Description: application/octet-stream (7.1 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2008-05-27 17:38:46
Subject: Re: ERRORDATA_STACK_SIZE panic crashes on Windows
Previous:From: Tom LaneDate: 2008-05-27 17:17:20
Subject: Re: ERRORDATA_STACK_SIZE panic crashes on Windows

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group