Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axc2r-0007iV-B0 for pgsql-docs@arkaria.postgresql.org; Tue, 03 May 2016 15:15:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1axc2q-00070f-Sh for pgsql-docs@arkaria.postgresql.org; Tue, 03 May 2016 15:15:28 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axc2p-0006zn-Pw; Tue, 03 May 2016 15:15:27 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axc2h-0004zI-K6; Tue, 03 May 2016 15:15:26 +0000 Received: from static-98-116-12-50.nycmny.fios.verizon.net ([98.116.12.50] helo=ph33r-retina.home) by meldrar.postgresql.org with esmtpsa (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axc2Z-0008Lf-UB; Tue, 03 May 2016 15:15:17 +0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [webmaster] Documentation Error: Ceiling, Floor From: "Jonathan S. Katz" In-Reply-To: <5728BB34.2030105@gmx.net> Date: Tue, 3 May 2016 11:15:08 -0400 Cc: webmaster@postgresql.org, pgsql-core@postgresql.org, pgsql-docs@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <2BDBABC1-309D-4788-8FE6-9790849F775B@postgresql.org> References: <5728689A.407@gmx.net> <6FB5E713-894C-4C8C-A5C0-7FB16000C2F5@postgresql.org> <5728BB34.2030105@gmx.net> To: "patrick s." X-Mailer: Apple Mail (2.3124) X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Hi Patrick, > On May 3, 2016, at 10:52 AM, patrick s. wrote: >=20 > Thanks, Jonathan >=20 > Didn't see whom to contact on the PG-Pages, but wanted to help. >=20 > Cheers, P Not a problem! I wanted to make sure the correct people saw it :-) Best, Jonathan > On 03.05.2016 16:38, Jonathan S. Katz wrote: >> Hi Patrick, >>=20 >>> On May 3, 2016, at 5:00 AM, patrick s. wrote: >>>=20 >>> Dear PostgreSQL developers and webmasters >>>=20 >>> It appears that the documentation of the mathematical functions "ceilin= g" and "floor" are wrong (inverted). >>>=20 >>> result is correct and as one would expect:: >>> select ceiling(43.8); =3D>44 >>> select floor(43.8); =3D>43 >>>=20 >>> documentation is misleading: >>> select ceiling(43.8); =3D>43 >>> select floor(43.8); =3D>44 >>>=20 >>> found in: >>> http://www.postgresql.org/docs/9.1/static/functions-math.html >>> http://www.postgresql.org/docs/7.4/static/functions-math.html >> This should be sent to pgsql-docs (which I have CC=E2=80=99d) >>=20 >> Thanks! >>=20 >> Jonathan >>=20 >=20 --=20 Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs