Re: Window function docs

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Window function docs
Date: 2017-04-07 16:28:54
Message-ID: 20170407162854.GH5757@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, Apr 6, 2017 at 06:13:44PM -0400, Tom Lane wrote:
> avg() is going to be evaluated across the current frame, not the whole
> partition. I don't mind trying to be more precise than "appropriate set",
> but it doesn't help to be apparently precise but wrong.
>
> 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.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2017-04-07 17:06:53 Re: Window function docs
Previous Message Peter Eisentraut 2017-04-07 02:18:47 Re: end of the line for Jade and DSSSL