Fix bug in aggregate (de)serialization commit.

Robert Haas <rhaas@postgresql.org>

Commit: 96f8373cad5d6066baeb7a1c5a88f6f5c9661974
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-03-29T19:21:57Z
Releases: 9.6.0
Fix bug in aggregate (de)serialization commit.

resulttypeLen and resulttypeByVal must be set correctly when serializing
aggregates, not just when finalizing them.  This was in David's final
patch but I downloaded the wrong version by mistake and failed to spot
the error.

David Rowley

Files

PathChange+/−
src/backend/executor/nodeAgg.c modified +4 −5