pgsql: Fix bug in aggregate (de)serialization commit. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix bug in aggregate (de)serialization commit.
Date
Msg-id E1akzGw-0007Ss-Nl@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Allow aggregate transition states to be serialized and deseriali
Next
From: Tom Lane
Date:
Subject: pgsql: Allow to_timestamp(float8) to convert float infinity to timestam