Re: onlyvalue aggregate (was: First Aggregate Funtion?)

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Marko Tiikkaja <marko(at)joh(dot)to>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: onlyvalue aggregate (was: First Aggregate Funtion?)
Date: 2015-11-02 11:38:54
Message-ID: CAEZATCW4cs6+u50a6ro5ACt1OddLi-KXmJoPp0C7HWqJj+bfnQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2 November 2015 at 09:10, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> I think we should avoid using ONLY or VALUE within the names since those
> already have other meanings in Postgres.
>

We already have window functions called first_value, last_value and
nth_value, so I think use of "value" in the name is OK (and
consistent). Actually thinking some more, I think the name
"unique_value" is better because it's more suggestive of the fact that
uniqueness is being enforced.

Regards,
Dean

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2015-11-02 11:40:39 Re: onlyvalue aggregate (was: First Aggregate Funtion?)
Previous Message Alexander Korotkov 2015-11-02 11:32:28 Re: WIP: Access method extendability