]> granicus.if.org Git - postgresql/commit
Clarify documentation of ceil/ceiling/floor functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jun 2016 15:58:01 +0000 (11:58 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jun 2016 15:58:01 +0000 (11:58 -0400)
commitcbd72c72b0ac5f829538b8d96d35288626db1ff8
tree0751221d7f50d800e79d08ed08d65ae98e2bfd5a
parentf4cb9ef57d4877fa585fd0d8a3a4d036ec5d8848
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