Re: [HACKERS] Proposal: Pre ordered aggregates, default ORDER BY clause for aggregates - median support

2009-12-20 Thread Pavel Stehule
2009/12/20 Andrew Gierth : >> "Pavel" == Pavel Stehule writes: > >  > 2009/12/20 Tom Lane : >  >> I think that we've already expanded the capabilities of aggregates >  >> a great deal for 8.5, and we should let it sit as-is for a release >  >> or two and see what the real user demand is for ad

Re: [HACKERS] Proposal: Pre ordered aggregates, default ORDER BY clause for aggregates - median support

2009-12-20 Thread Andrew Gierth
> "Pavel" == Pavel Stehule writes: > 2009/12/20 Tom Lane : >> I think that we've already expanded the capabilities of aggregates >> a great deal for 8.5, and we should let it sit as-is for a release >> or two and see what the real user demand is for additional >> features. >> >> I'm p

Re: [HACKERS] Proposal: Pre ordered aggregates, default ORDER BY clause for aggregates - median support

2009-12-20 Thread Tom Lane
Dimitri Fontaine writes: > Le 20 déc. 2009 à 22:08, Tom Lane a écrit : >> Another risk is that features added now might preclude adding others >> later. > Now, I have no idea if augmenting the aggregate properties with an optional > sorting step is the right approach, but it sounds right on spot

Re: [HACKERS] Proposal: Pre ordered aggregates, default ORDER BY clause for aggregates - median support

2009-12-20 Thread Dimitri Fontaine
Hi from a real user :) Le 20 déc. 2009 à 22:08, Tom Lane a écrit : > Pavel Stehule writes: >> b) general support for "preordered aggregates". > > I think that we've already expanded the capabilities of aggregates > a great deal for 8.5, and we should let it sit as-is for a release > or two and s

Re: [HACKERS] Proposal: Pre ordered aggregates, default ORDER BY clause for aggregates - median support

2009-12-20 Thread Pavel Stehule
2009/12/20 Tom Lane : > Pavel Stehule writes: >> I am thinking about implementation of median function. This function >> should be implemented in two ways: > >> a) direct entering an ORDER BY clause for median funcall in gram.y >> b) general support for "preordered aggregates". > >> I prefer plan

Re: [HACKERS] Proposal: Pre ordered aggregates, default ORDER BY clause for aggregates - median support

2009-12-20 Thread Tom Lane
Pavel Stehule writes: > I am thinking about implementation of median function. This function > should be implemented in two ways: > a) direct entering an ORDER BY clause for median funcall in gram.y > b) general support for "preordered aggregates". > I prefer plan b, because there are more simil

[HACKERS] Proposal: Pre ordered aggregates, default ORDER BY clause for aggregates - median support

2009-12-20 Thread Pavel Stehule
Hello I am thinking about implementation of median function. This function should be implemented in two ways: a) direct entering an ORDER BY clause for median funcall in gram.y b) general support for "preordered aggregates". I prefer plan b, because there are more similar aggregates - like Quant