Re: Support for RANGE ... PRECEDING windows in OVER - Mailing list pgsql-hackers

From ian link
Subject Re: Support for RANGE ... PRECEDING windows in OVER
Date
Msg-id CAOOwM5LZ7E0SHa7nSYs44iXqWE20CAShDekOVtnZ6R8O5h0Bgg@mail.gmail.com
Whole thread Raw
In response to Re: Support for RANGE ... PRECEDING windows in OVER  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Definitely not this week. Hopefully for next commit fest.


On Sun, Jun 30, 2013 at 9:56 PM, Josh Berkus <josh@agliodbs.com> wrote:
On 06/30/2013 08:54 PM, ian link wrote:
> I found some time and I think I am up to speed now. I finally figured out
> how to add new operator strategies and made a little test operator for
> myself.
>
> It seems pretty clear that assuming '+' and '-' are addition and
> subtraction is a bad idea. I don't think it would be too tricky to add
> support for new operator strategies. Andrew Gierth suggested calling these
> new strategies "offset -" and "offset +", which I think describes it pretty
> well. I assigned the operator itself to be "@+" and "@-" but that can
> obviously be changed. If this sounds like a good path to you guys, I will
> go ahead and implement the operators for the appropriate types. Please let
> me know if I am misunderstanding something - I am still figuring stuff out
> :)
>
> Aside from the opclass stuff, there were some other important issues
> mentioned with the original RANGE support. I think I will address those
> after the opclass stuff is done.

Are these things you plan to get done this week, or for next CommitFest?

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

pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: Request for Patch Feedback: Lag & Lead Window Functions Can Ignore Nulls
Next
From: Satoshi Nagayasu
Date:
Subject: Re: Block write statistics WIP