2 Commits

Author SHA1 Message Date
Sven Klemm
c13626d522 Check for window agg context in finalize_agg
When finalize_agg is called as a window function AggCheckCallContext
will return true but the context will not be an AggState but a
WindowAggState, this patch checks for AggState explicitly and errors
when the function is called in window function context.
2019-04-18 17:16:12 +02:00
Matvey Arye
672c41755f Rename files to partialize_finalize
It's better to have more concrete names than just util_aggfns.

Also add TSDLLEXPORT where appropriate for windows.
2019-04-12 12:12:17 -04:00