Re: [COMMITTERS] pgsql: Add index entries for more functions

From: Thom Brown <thom(at)linux(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Add index entries for more functions
Date: 2010-11-30 17:57:59
Message-ID: AANLkTikMr7VxKNa0Nvtn+=k69YiPf0RDYnQbApm+KF_C@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-docs

On 30 November 2010 17:55, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> On sön, 2010-11-28 at 23:59 +0000, Thom Brown wrote:
>> Whilst looking at the latest build of the docs at
>> http://developer.postgresql.org/pgdocs/postgres/bookindex.html I've
>> noticed a discrepancy in this commit from the patch I provided.  I
>> specified "average" as a primary term with "avg" as a secondary term,
>> but the commit shows them both as separate primary entries.  Was this
>> changed intentionally?
>
> Yes.
>
> I have no written reference for this, but from experience, my
> understanding of the way index entries should work is that the primary
> term is something you would look up, and the secondary term is something
> you would look up among the primary terms.
>
> So I think a reader would probably look up both "avg" because that's the
> function he's using, and "average" because that's the term for what he's
> trying to do.
>
> Somewhat made up examples of what reasonable secondary terms might be:
>
> avg,
>   for user-defined types
>   performance of

Okay, fair enough. :)

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message User Itagaki 2010-12-01 03:10:16 pgbulkload - pgbulkload: Fix a bug that indexes must have Invalid
Previous Message Peter Eisentraut 2010-11-30 17:55:48 Re: [COMMITTERS] pgsql: Add index entries for more functions

Browse pgsql-docs by date

  From Date Subject
Next Message Greg Smith 2010-12-01 06:10:57 Re: [PATCH] Fix documentation about PL/Python exception handling
Previous Message Peter Eisentraut 2010-11-30 17:55:48 Re: [COMMITTERS] pgsql: Add index entries for more functions