Thread: pgsql: Fix bug in aggregate (de)serialization commit.

pgsql: Fix bug in aggregate (de)serialization commit.

From
Robert Haas
Date:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/96f8373cad5d6066baeb7a1c5a88f6f5c9661974

Modified Files
--------------
src/backend/executor/nodeAgg.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)