Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> This looks simple and useful. I haven't tested it, but if it's really
> this easy, we should definitely do it.
I should be out from under the window functions patch tomorrow,
will look at this one then.
regards, tom lane