Re: Should enum GUCs be listed as such in config.sgml? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Should enum GUCs be listed as such in config.sgml?
Date
Msg-id 10075.1227290611@sss.pgh.pa.us
Whole thread Raw
In response to Re: Should enum GUCs be listed as such in config.sgml?  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Should enum GUCs be listed as such in config.sgml?
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Tom Lane wrote:
>> Last I checked, Magnus had promised to come up with suitable
>> documentation changes for this patch, but then he went off sailing...

> Meh, I seem to have forgotten this one again. Here's a suggestion, seems
> ok, or were you thinking about something more?

Needs a bit of proofreading but this is more or less what I had in
mind.

> +    Enum settings are specified the same way as string settings, but they
> +    are limited in which strings are accepted. For each setting the available
> +    are listed in <literal>pg_settings.enumvals</>.

IIRC the comparisons are case-insensitive; if so the fact should be
mentioned here.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: fmgr.h vs funcapi.h?
Next
From: Magnus Hagander
Date:
Subject: Re: pg_settings.enumval as array