Re: \i and \ir separated by \if now...

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Vianello, Daniel A" <Daniel(dot)Vianello(at)charter(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: \i and \ir separated by \if now...
Date: 2018-07-07 15:26:49
Message-ID: CAKFQuwYfxuvDv86gvzG1gzGY+H9qL36LzOzdT0OKJw7n44YP0Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Saturday, July 7, 2018, Peter Eisentraut <
peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:

> On 27.05.18 05:08, Tom Lane wrote:
> > "Vianello, Daniel A" <Daniel(dot)Vianello(at)charter(dot)com> writes:
> >>> Uh, why would we list \ir before the simpler \i?
> >
> >> So that the request is to merge \ir into the \i section (not before \i
> but part of that discusstion) rather than being separated by the
> comparatively longer section for \if
> >
> > It was, in fact, like that initially. Peter E. changed it in commit
> > 0d9bdbcaae0, without any discussion that I remember seeing. I've never
> > been very happy with "alphabetical order trumps all other considerations"
> > as a documentation rule, and this seems like a good example of why not.
>
> The rule is, alphabetical order trumps no consideration. ;-)
>
> I can see the point here. Merging \i and \ir into one item (with two
> <term>s) might make sense.

This seems like the most desirable outcome and steps around the
alphabetical discussion quite cleanly.

However, someone doing a mental binary
> search across a man page would surely be confused if they don't find \ir
> after \if. The question is, are they coming to the page to look up \ir,
> or are they coming there to learn about groups of related commands?

Some of each. A initial set of summary tables grouped by functionality and
with anchor links to the descriptions would serve both parties better but
is beyond the scope of this gripe which can be solved within the current
format easily enough.

> Another way to associate \i and \ir is with "see also" type references.

Seems overkilll for this specific situation.

David J.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2018-07-10 09:34:36 Typo in doc or wrong EXCLUDE implementation
Previous Message Peter Eisentraut 2018-07-07 08:51:45 Re: Documentation of pg_index.indcollation missing some info in older versions?