Re: [DOCS] Median missing from aggregate functions page

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [DOCS] Median missing from aggregate functions page
Дата
Msg-id 25081.1482506499@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [DOCS] Median missing from aggregate functions page  (steven.winfield@cantabcapital.com)
Список pgsql-docs
steven.winfield@cantabcapital.com writes:
> The index contains an entry for "median" on the aggregate functions page,
> but there is no mention of it there.

Hm --- that <indexterm> entry is attached to the percentile_cont()
function, which can be used to implement median, but I agree that
a person who already knew that would probably not be following the
index pointer.

It might be more useful to point to 4.2.7. Aggregate Expressions
which contains a concrete example of how to implement median
with percentile_disc().

Another idea is to just make the index entry say
"See percentile_cont() and percentile_disc()".

            regards, tom lane


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

Предыдущее
От: steven.winfield@cantabcapital.com
Дата:
Сообщение: [DOCS] Median missing from aggregate functions page
Следующее
От: meirav.rath@imperva.com
Дата:
Сообщение: [DOCS] Error when trying to start server