Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwXLo-000706-L5 for pgsql-docs@arkaria.postgresql.org; Fri, 07 Apr 2017 17:07:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cwXLn-0005BV-LO for pgsql-docs@arkaria.postgresql.org; Fri, 07 Apr 2017 17:07:07 +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 1cwXLm-0005Az-TH for pgsql-docs@postgresql.org; Fri, 07 Apr 2017 17:07:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cwXLf-0005hi-MQ for pgsql-docs@postgresql.org; Fri, 07 Apr 2017 17:07:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v37H6rGB013484; Fri, 7 Apr 2017 13:06:53 -0400 From: Tom Lane To: Bruce Momjian cc: PostgreSQL-documentation Subject: Re: Window function docs In-reply-to: <20170407162854.GH5757@momjian.us> References: <20170406214918.GA5757@momjian.us> <15355.1491516824@sss.pgh.pa.us> <20170407162854.GH5757@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Fri, 07 Apr 2017 12:28:54 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13482.1491584813.1@sss.pgh.pa.us> Date: Fri, 07 Apr 2017 13:06:53 -0400 Message-ID: <13483.1491584813@sss.pgh.pa.us> X-Pg-Spam-Score: -1.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 Bruce Momjian 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