pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Re: PostgreSQL needs percentage function
Date: Mon, 18 Dec 2017 20:35:54 +0100
Message-ID: <20171218193554.3wsxivbkyatfnqpd@hjp.at> (raw)
In-Reply-To: <CAKFQuwYJrfuQHO28h9x9o=PfmZcYru7x1nXwC_LrzgQd+AbvYg@mail.gmail.com>
References: <^FE34C70306C4621EEC5A3C105FA6EA1957DD7C46@walla.co.il>
	<CAKFQuwYJrfuQHO28h9x9o=PfmZcYru7x1nXwC_LrzgQd+AbvYg@mail.gmail.com>

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

-- 
   _  | 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 <https://www.edge.org/;

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (19+ messages)  latest in thread

Message-ID: <20171218193554.3wsxivbkyatfnqpd@hjp.at>
Permalink:  ../20171218193554.3wsxivbkyatfnqpd@hjp.at/
Also on:    postgresql.org/message-id/20171218193554.3wsxivbkyatfnqpd@hjp.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: PostgreSQL needs percentage function
  In-Reply-To: <20171218193554.3wsxivbkyatfnqpd@hjp.at>
  References: <^FE34C70306C4621EEC5A3C105FA6EA1957DD7C46@walla.co.il> <CAKFQuwYJrfuQHO28h9x9o=PfmZcYru7x1nXwC_LrzgQd+AbvYg@mail.gmail.com> <20171218193554.3wsxivbkyatfnqpd@hjp.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox