]> granicus.if.org Git - postgresql/commit
Fix bug in aggregate (de)serialization commit.
authorRobert Haas <rhaas@postgresql.org>
Tue, 29 Mar 2016 19:21:57 +0000 (15:21 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 29 Mar 2016 19:21:57 +0000 (15:21 -0400)
commit96f8373cad5d6066baeb7a1c5a88f6f5c9661974
treeac44f97029e26ad4c2f5e0846e06f32f139d07ab
parent5fe5a2cee91117673e04617aeb1a38e305dcd783
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
src/backend/executor/nodeAgg.c