Thread: pgsql: Clarify documentation of ceil/ceiling/floor functions.

pgsql: Clarify documentation of ceil/ceiling/floor functions.

From
Tom Lane
Date:
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>

Branch
------
REL9_3_STABLE

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

Modified Files
--------------
doc/src/sgml/func.sgml        |  6 +++---
src/include/catalog/pg_proc.h | 12 ++++++------
2 files changed, 9 insertions(+), 9 deletions(-)