[COMMITTERS] pgsql: Doc: improve index entry for "median".

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [COMMITTERS] pgsql: Doc: improve index entry for "median".
Дата
Msg-id E1cKU2K-0001ei-FI@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Doc: improve index entry for "median".

We had an index entry for "median" attached to the percentile_cont function
entry, which was pretty useless because a person following the link would
never realize that that function was the one they were being hinted to use.

Instead, make the index entry point at the example in syntax-aggregates,
and add a <seealso> link to "percentile".

Also, since that example explicitly claims to be calculating the median,
make it use percentile_cont not percentile_disc.  This makes no difference
in terms of the larger goals of that section, but so far as I can find,
nearly everyone thinks that "median" means the continuous not discrete
calculation.

Per gripe from Steven Winfield.  Back-patch to 9.4 where we introduced
percentile_cont.

Discussion: https://postgr.es/m/20161223102056.25614.1166@wrigleys.postgresql.org

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a377c8d921b2fce660043817d52366fd61bf219b

Modified Files
--------------
doc/src/sgml/func.sgml   |  3 ---
doc/src/sgml/syntax.sgml | 14 ++++++++++++--
2 files changed, 12 insertions(+), 5 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Spellcheck: s/descendent/descendant/g
Следующее
От: Peter Eisentraut
Дата:
Сообщение: [COMMITTERS] pgsql: Remove unnecessary casts of makeNode() result