Re: doc issue missing type name "multirange" in chapter title

Justin Pryzby <pryzby@telsasoft.com>

From: Justin Pryzby <pryzby@telsasoft.com>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2021-06-11T00:28:21Z
Lists: pgsql-hackers
On Thu, Jun 10, 2021 at 11:46:46PM +0300, Alexander Korotkov wrote:
> On Fri, May 7, 2021 at 8:18 AM Pavel Stehule <pavel.stehule@gmail.com> wrote:
> > I searched operators for multirange type, and the current doc is little bit messy, because chapter "Range Functions and Operators" contains operators and functions for multirange type too.
> >
> > I think so this chapter should be renamed to Range, Multirange Functions and Operators"
> >
> > diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
> > index 0b5571460d..f6ed1568af 100644
> > --- a/doc/src/sgml/func.sgml
> > +++ b/doc/src/sgml/func.sgml
> > @@ -18164,7 +18164,7 @@ SELECT NULLIF(value, '(none)') ...
> >    </sect1>
> >
> >   <sect1 id="functions-range">
> > -  <title>Range Functions and Operators</title>
> > +  <title>Range, Multirange Functions and Operators</title>
> >
> >    <para>
> >     See <xref linkend="rangetypes"/> for an overview of range types.
> 
> Thank you for catching this.  What do you think about titling this
> section "Range and Multirange Functions and Operators"?

Yes, it should say "and".

If it's confusing to say "and" twice, then perhaps you'd say:

Functions and Operators for Range and Multirange Types



Commits

  1. Add missing type name "multirange" in docs chapter title