MAXALIGN the target address where we store flattened value.

Amit Kapila <akapila@postgresql.org>

Commit: ca5ca25d08710d7f5aaf0e390aae284bc594a6da
Author: Amit Kapila <akapila@postgresql.org>
Date: 2018-10-03T03:44:09Z
Releases: 11.0
MAXALIGN the target address where we store flattened value.

The API (EOH_flatten_into) that flattens the expanded value representation
expects the target address to be maxaligned.  All it's usage adhere to that
principle except when serializing datums for parallel query.  Fix that
usage.

Diagnosed-by: Tom Lane
Author: Tom Lane and Amit Kapila
Backpatch-through: 9.6
Discussion: https://postgr.es/m/11629.1536550032@sss.pgh.pa.us

Files

Discussion