Re: Variadic aggregates vs. project policy - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Variadic aggregates vs. project policy
Date
Msg-id 521FBF1B.3030305@agliodbs.com
Whole thread Raw
In response to Variadic aggregates vs. project policy  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Variadic aggregates vs. project policy
Re: Variadic aggregates vs. project policy
List pgsql-hackers
Tom,

> On further reflection, what the "policy" was actually about was not that
> we should forbid users from creating potentially-confusing aggregates
> themselves, but only that we'd avoid having any *built in* aggregates with
> this hazard.  So maybe I'm overthinking this, and the correct reading is
> just that we should have a policy against built-in variadic aggregates.

Yes.  I think we can assume that anyone smart enough to create a
variadic aggregate is smart enough to put ORDER BY in the right place.


-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: PL/pgSQL PERFORM with CTE
Next
From: Josh Berkus
Date:
Subject: Re: PL/pgSQL PERFORM with CTE