Backport combine/serial/deserial functions for assorted aggregates.
This replaces the old *_amalg() functions with the upstream versions. They should do the same thing, but let's stick to upstream code where possible. I had to change the OIDs of a few functions, to make those OIDs available for the new upstream functions. Upstream commit: commit 11c8669c Author: Robert Haas <rhaas@postgresql.org> Date: Tue Apr 5 14:24:59 2016 -0400 Add parallel query support functions for assorted aggregates. This lets us use parallel aggregate for a variety of useful cases that didn't work before, like sum(int8), sum(numeric), several versions of avg(), and various other functions. Add some regression tests, as well, testing the general sanity of these and future catalog entries. David Rowley, reviewed by Tomas Vondra, with a few further changes by me.
Showing
想要评论请 注册 或 登录