| From: | Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com> |
|---|---|
| To: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: add more frame types in window functions (ROWS) |
| Date: | 2009-11-15 07:11:19 |
| Message-ID: | e08cc0400911142311o1b106606g590495aabaf7ff74@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Thanks for your review.
2009/11/15 Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>:
> Hi, I've started reviewing your patch.
>
> I've already found some things that need work:
>
> - missing _readWindowFrameDef function (all nodes that are output
> from parse analysis must have both _read and _out functions,
> otherwise views can't work)
I added _outWindowFramedef() but seem to forget _read one. Will add it.
>
> - the A_Const nodes should probably be transformed to Const nodes in
> parse analysis, since A_Const has no _read/_out functions, which
> means changing the corresponding code in the executor.
Thanks for this comment. I hadn't determined which node should be used
as a value node passed to executor. Including Tom's comment, I must
consider which should be again.
Regards,
--
Hitoshi Harada
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hitoshi Harada | 2009-11-15 07:27:49 | NULL input for array_agg()? |
| Previous Message | Hitoshi Harada | 2009-11-15 07:04:21 | Re: add more frame types in window functions (ROWS) |