aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsvector_parser.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-12-23 12:53:09 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-12-23 12:53:22 -0500
commit090a3870aa4ed334a06a5cd81b74fde368ecf379 (patch)
treee2cec9582eb36f1c93875350e05377f4335a178b /src/backend/utils/adt/tsvector_parser.c
parentac1ec9c1f0365293e9fdc26f06545b3b48817230 (diff)
downloadpostgresql-090a3870aa4ed334a06a5cd81b74fde368ecf379.tar.gz
postgresql-090a3870aa4ed334a06a5cd81b74fde368ecf379.zip
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
Diffstat (limited to 'src/backend/utils/adt/tsvector_parser.c')
0 files changed, 0 insertions, 0 deletions