Here's an updated version taking into account the discussion so far. It's still a net addition of code (about +200 lines according to diffstat), but I think the consolidation of logic is probably worth that.
Any further comments? regards, tom lane
binHLYugMFK3Z.bin
Description: agg-check-refactor-2.patch.gz
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers