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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [COMMITTERS] pgsql: Add index entries for more functions
Дата
Msg-id 1291139748.13957.6.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: [COMMITTERS] pgsql: Add index entries for more functions  (Thom Brown <thom@linux.com>)
Список pgsql-docs
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



В списке pgsql-docs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCH] Fix documentation about PL/Python exception handling
Следующее
От: Thom Brown
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add index entries for more functions