2008/10/12 Robert Haas <robertmhaas(at)gmail(dot)com>:
> I wonder if this could be implemented using the window-function
> infrastructure...
>
Yeah, actually window functions I am working now has percent_rank() or
something he wants. That is better than WITH clauses but still we must
see the last row before determine the percent. Better than count(*) of
course, but I'm not sure it meets his needs.
Regards,
--
Hitoshi Harada