Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axcy8-00026N-O1 for pgsql-docs@arkaria.postgresql.org; Tue, 03 May 2016 16:14:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1axcy8-0000yj-72 for pgsql-docs@arkaria.postgresql.org; Tue, 03 May 2016 16:14:40 +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 1axcy7-0000yd-Rg for pgsql-docs@postgresql.org; Tue, 03 May 2016 16:14:39 +0000 Received: from mx-out.zmailcloud.com ([192.198.85.98] helo=mx-out-1.zmailcloud.com) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axcy5-0006FC-6D for pgsql-docs@postgresql.org; Tue, 03 May 2016 16:14:38 +0000 Received: from smtp.01.com (smtp.01.com [10.10.0.43]) by mx-out-1.zmailcloud.com (Postfix) with ESMTP id 2A6A9563D53 for ; Tue, 3 May 2016 11:14:36 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 12582A02AB for ; Tue, 3 May 2016 11:14:36 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qqTVo_PubJd7 for ; Tue, 3 May 2016 11:14:35 -0500 (CDT) Received: from smtp.01.com (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id D09C8A0365 for ; Tue, 3 May 2016 11:14:35 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 9C51DA02D4 for ; Tue, 3 May 2016 11:14:35 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Lq0jk1DONExS for ; Tue, 3 May 2016 11:14:35 -0500 (CDT) Received: from redhat.com (c-98-246-109-153.hsd1.or.comcast.net [98.246.109.153]) by smtp-out-1.01.com (Postfix) with ESMTPSA id 1E620A02AB for ; Tue, 3 May 2016 11:14:35 -0500 (CDT) Subject: Fwd: [CORE] Documentation Error: Ceiling, Floor References: To: pgsql-docs@postgresql.org From: Josh berkus X-Forwarded-Message-Id: Message-ID: <5728CE6A.4090204@agliodbs.com> Date: Tue, 3 May 2016 09:14:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 -------- Forwarded Message -------- Subject: [CORE] Documentation Error: Ceiling, Floor Date: Tue, 3 May 2016 11:00:10 +0200 From: patrick s. To: webmaster@postgresql.org, pgsql-core@postgresql.org Dear PostgreSQL developers and webmasters It appears that the documentation of the mathematical functions "ceiling" and "floor" are wrong (inverted). result is correct and as one would expect:: select ceiling(43.8); =>44 select floor(43.8); =>43 documentation is misleading: select ceiling(43.8); =>43 select floor(43.8); =>44 found in: http://www.postgresql.org/docs/9.1/static/functions-math.html http://www.postgresql.org/docs/7.4/static/functions-math.html Cheers, Patrick -- Sent via pgsql-core mailing list (pgsql-core@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-core -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs