Re: Support for RANGE ... PRECEDING windows in OVER

From: ian link <ian(at)ilink(dot)io>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Support for RANGE ... PRECEDING windows in OVER
Date: 2013-07-01 07:05:36
Message-ID: CAOOwM5LZ7E0SHa7nSYs44iXqWE20CAShDekOVtnZ6R8O5h0Bgg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Definitely not this week. Hopefully for next commit fest.

On Sun, Jun 30, 2013 at 9:56 PM, Josh Berkus <josh(at)agliodbs(dot)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
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Satoshi Nagayasu 2013-07-01 07:10:39 Re: Block write statistics WIP
Previous Message Dean Rasheed 2013-07-01 06:58:17 Re: Request for Patch Feedback: Lag & Lead Window Functions Can Ignore Nulls