pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: Window function docs
Date: Fri, 07 Apr 2017 13:06:53 -0400
Message-ID: <13483.1491584813@sss.pgh.pa.us> (raw)
In-Reply-To: <20170407162854.GH5757@momjian.us>
References: <20170406214918.GA5757@momjian.us>
	<15355.1491516824@sss.pgh.pa.us>
	<20170407162854.GH5757@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

Bruce Momjian <bruce@momjian.us> writes:
> On Thu, Apr  6, 2017 at 06:13:44PM -0400, Tom Lane wrote:
>> Not really convinced by the s/regular/normal/g changes.  That doesn't seem
>> to clarify much either.  Maybe it would help to define "normal" near here.
>> There's a definition in func.sgml (that they are not ordered-set or
>> hypothetical-set aggregates) but that's too far away.

> This change is not on my patch yes but what do you think about changing
> "regular" and "normal" aggregate designations to "generic"?  That seems
> clearer because the aggregates work in non-window and window contexts.

I don't think "generic" is le mot juste here.  What's more generic about
avg() than about mode(), for instance?

My dictionary says "generic" means "characteristic of a class or group
of things", which doesn't seem to have anything to do with this.

I actually think "regular" might be a better choice than "normal" for this
purpose, mainly because somebody looking for statistical aggregates might
think that "normal" has something to do with normal distributions.  So
maybe we should leave that one group of uses alone and s/normal/regular/
in section 9.20.  But in any case it would help to define the term
explicitly in both sections.

			regards, tom lane


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (11+ messages)  latest in thread

Message-ID: <13483.1491584813@sss.pgh.pa.us>
Permalink:  ../13483.1491584813@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13483.1491584813@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bruce@momjian.us
  Subject: Re: Window function docs
  In-Reply-To: <13483.1491584813@sss.pgh.pa.us>

* 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