| From: | Nicholas White <n(dot)j(dot)white(at)gmail(dot)com> |
|---|---|
| To: | Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> |
| Cc: | Jeff Davis <pgsql(at)j-davis(dot)com>, Troels Nielsen <bn(dot)troels(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Request for Patch Feedback: Lag & Lead Window Functions Can Ignore Nulls |
| Date: | 2013-07-01 02:07:18 |
| Message-ID: | CA+=vxNaYGyd1+KquoJAmyCacAt-x-6y=z-ScLVq0GiEJm_Bqfw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I've attached another iteration of the patch that fixes the multiple-window
bug and adds (& uses) a function to create a Bitmapset using a custom
allocator. I don't think there's any outstanding problems with it now.
> Alternatively, it might be trivial to make all aggregate functions work
with ignore nulls in a window context
This is a good idea, but I'd like to keep the scope of this patch limited
for the time being - I'll look at doing this (along with the first / last /
nth value window functions) for a later release.
Thanks -
Nick
| Attachment | Content-Type | Size |
|---|---|---|
| lead-lag-ignore-nulls.patch | application/octet-stream | 28.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2013-07-01 02:58:33 | Re: Eliminating PD_ALL_VISIBLE, take 2 |
| Previous Message | Claudio Freire | 2013-07-01 01:43:52 | Re: plpython implementation |