Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eR1Ch-0001w7-5I for pgsql-general@arkaria.postgresql.org; Mon, 18 Dec 2017 19:35:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eR1Cg-0006Ky-D6 for pgsql-general@arkaria.postgresql.org; Mon, 18 Dec 2017 19:35:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eR1Cg-0006Kp-61 for pgsql-general@lists.postgresql.org; Mon, 18 Dec 2017 19:35:58 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eR1Cd-0007UP-0g for pgsql-general@lists.postgresql.org; Mon, 18 Dec 2017 19:35:57 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 1FBC31609; Mon, 18 Dec 2017 20:35:54 +0100 (CET) Date: Mon, 18 Dec 2017 20:35:54 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Re: PostgreSQL needs percentage function Message-ID: <20171218193554.3wsxivbkyatfnqpd@hjp.at> References: <^FE34C70306C4621EEC5A3C105FA6EA1957DD7C46@walla.co.il> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="odmarxvwawgxqiq2" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --odmarxvwawgxqiq2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2017-12-18 09:21:49 -0700, David G. Johnston wrote: > Frankly, the name "percent" is a poor choice: [...] > And why is percent >1 as opposed to (generally) between 0 and 1? That's what "per cent" means: "of hundred". The whole is 100. If the whole is 1, it's not a percentage (and yes, percent_rank() is misnamed). hp --=20 _ | Peter J. Holzer | we build much bigger, better disasters now |_|_) | | because we have much more sophisticated | | | hjp@hjp.at | management tools. __/ | http://www.hjp.at/ | -- Ross Anderson --odmarxvwawgxqiq2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAlo4GJkACgkQ8g5IURL+ KF2GxQ//Ssn9ab4TXV+gKCHjP2qRbGwbhPn/CEVDQRfXmtm91Xor9EcBktADXQLL n7mu5h/le42d240Crbjo3FaiJ7YJTQQSbpZ4F9pWYvJ/Shb9F+HUOEsCsdYaWAbH pqV0ybWTg6fjqIGFa4+MZRvrDCRiL9dgdmpKONC3xkj+yZr2tv+qLWU4A9mXeXvJ VRLylcr7ZPga9WuqNY30F22Vl+E3U5AU0+nYr3TH2/WQ3rrrbiOmRBNjb6simRqs EjmpD4Q5ZPGRbQJ2YPbfPIqiwFDVfAdBO8syP5cvYdZDFIFAhe0dCFfazVE0bh0n PN3CUpzbe/Sb9i1FxPdSlf004JfikUV01DSz2sHIs3wIulmqjjuzYLyznLlNhkpu nyzxwwlVL9KJAfwl4dyzln32h6Mj69g38ZrMwl/y/mFo0goydXfhe3cNzI+OB9IG BRJFLVu6rvvA7KmsgHHL6n3cnNBmiKt7MV+bLeNhAeO9bFefGWOQEJVu7QgQrzm1 VC/jzZ8KJuZfSXwMp92rJxXaQcCU4VMIWpfnD2yYBTHoojWLEiMhJ/8usP3wv42Y GeIkjAGeXsIcbxA8aMRn8zOc+qbIC1nRmv8AgEa7VEgk3thGdUvZY58r/jUS2k+s jPvFsADGn/C3uiaInje/m5TpTDTn5ywSOZcyWESV/E2Iye6LuwI= =8m1p -----END PGP SIGNATURE----- --odmarxvwawgxqiq2--