Re: add types to index storage params on doc - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: add types to index storage params on doc
Date
Msg-id 20200316143250.GA15010@alvherre.pgsql
Whole thread Raw
In response to Re: add types to index storage params on doc  (Atsushi Torikoshi <atorik@gmail.com>)
Responses Re: add types to index storage params on doc  (Atsushi Torikoshi <atorik@gmail.com>)
List pgsql-hackers
On 2020-Mar-16, Atsushi Torikoshi wrote:

> Thanks for your comments!
> 
> On Mon, Mar 16, 2020 at 11:49 AM Fujii Masao <masao.fujii@oss.nttdata.com>
> wrote:
> 
> > -    <term><literal>buffering</literal>
> > +    <term><literal>buffering</literal> (<type>string</type>)
> >
> > Isn't it better to use "enum" rather than "string"?
> > In the docs about enum GUC parameters, "enum" is used there.
> 
> Agreed. I've fixed it to "enum".
> 
> But I'm now wondering about the type of check_option[3], [4].
> Because I decide the type to "string" referring to check_option, which is
> the other element of  enumRelOpts in reloptions.c.
> 
> Should I also change it to "enum"?

Yeah, these were strings until recently (commit 773df883e8f7 Sept 2019).

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Refactor compile-time assertion checks for C/C++
Next
From: Julien Rouhaud
Date:
Subject: Re: Feature improvement: can we add queryId forpg_catalog.pg_stat_activity view?