"Hitoshi Harada" <[EMAIL PROTECTED]> writes:
> In my patch nodeWindow.c, some functions reach for its parent state
> node to get info of sort keys by using fcinfo->context. This works but
> is completely ugly.

Isn't that the same thing nodeAgg does: pass its AggState to aggregate
functions?  I don't see anything ugly about it --- at least, any
alternative you care to name is likely to be far worse.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to