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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clarify documentation of ceil/ceiling/floor functions.
Date: 2016-06-09 15:58:21
Message-ID: E1bB2Ld-0002W8-Ce@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)mail(dot)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-06-09 16:16:29 pgsql: Yet again update typedefs.list file in preparation for pgindent
Previous Message Tom Lane 2016-06-09 15:16:32 pgsql: Mop-up for parallel degree-ectomy.