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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in aggregate (de)serialization commit.
Date: 2016-03-29 19:25:50
Message-ID: E1akzGw-0007Ss-Nl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-03-29 21:09:42 pgsql: Allow to_timestamp(float8) to convert float infinity to timestam
Previous Message Robert Haas 2016-03-29 19:10:56 pgsql: Allow aggregate transition states to be serialized and deseriali