forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3c9d398
committed
Doc: improve index entry for "median".
We had an index entry for "median" attached to the percentile_cont functionentry, which was pretty useless because a person following the link wouldnever 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 differencein terms of the larger goals of that section, but so far as I can find,nearly everyone thinks that "median" means the continuous not discretecalculation.Per gripe from Steven Winfield. Back-patch to 9.4 where we introducedpercentile_cont.Discussion:https://postgr.es/m/20161223102056.25614.1166@wrigleys.postgresql.org1 parentff33d14 commit3c9d398
2 files changed
+12
-5
lines changedLines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13774 | 13774 |
| |
13775 | 13775 |
| |
13776 | 13776 |
| |
13777 |
| - | |
13778 |
| - | |
13779 |
| - | |
13780 | 13777 |
| |
13781 | 13778 |
| |
13782 | 13779 |
| |
|
Lines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1694 | 1694 |
| |
1695 | 1695 |
| |
1696 | 1696 |
| |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
1697 | 1707 |
| |
1698 | 1708 |
| |
1699 | 1709 |
| |
1700 |
| - | |
1701 |
| - | |
| 1710 | + | |
| 1711 | + | |
1702 | 1712 |
| |
1703 | 1713 |
| |
1704 | 1714 |
| |
|
0 commit comments
Comments
(0)