Clarify documentation of ceil/ceiling/floor functions.
authorTom Lane <[email protected]>
Thu, 9 Jun 2016 15:58:00 +0000 (11:58 -0400)
committerTom Lane <[email protected]>
Thu, 9 Jun 2016 15:58:00 +0000 (11:58 -0400)
commit719dd9a64af5f2ec07a9cac16fb161a3c5c18010
treed143700fdc2c88c211e2a282ddd98b4217d3004a
parent5b3cd1a771a609306c057969094cd31c0fee00d3
Clarify documentation of ceil/ceiling/floor functions.

Document these as "nearest integer >= argument" and "nearest integer <=
argument", which will hopefully be less confusing than the old formulation.
New wording is from Matlab via Dean Rasheed.

I changed the pg_description entries as well as the SGML docs.  In the
back branches, this will only affect installations initdb'd in the future,
but it should be harmless otherwise.

Discussion: <CAEZATCW3yzJo-NMSiQs5jXNFbTsCEftZS-Og8=FvFdiU+kYuSA@mail.gmail.com>
doc/src/sgml/func.sgml
src/include/catalog/pg_proc.h