From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix memory alignment in pg_mcv_list serialization
Date: Fri, 29 Mar 2019 18:08:16 +0000
Message-ID: <E1h9vvM-0001yK-U7@gemulon.postgresql.org> (raw)
Fix memory alignment in pg_mcv_list serialization
Blind attempt at fixing ia64, hppa an sparc builds.
The serialized representation of MCV lists did not enforce proper memory
alignment for internal fields, resulting in deserialization issues on
platforms that are more sensitive to this (ia64, sparc and hppa).
This forces a catalog version bump, because the layout of serialized
pg_mcv_list changes.
Broken since 7300a699.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d85e0f366a347633f255b8d1031ab34733c5e147
Modified Files
--------------
src/backend/statistics/mcv.c | 114 ++++++++++++++++++++++++++-------------
src/include/catalog/catversion.h | 2 +-
2 files changed, 77 insertions(+), 39 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tomas.vondra@postgresql.org
Subject: Re: pgsql: Fix memory alignment in pg_mcv_list serialization
In-Reply-To: <E1h9vvM-0001yK-U7@gemulon.postgresql.org>
References: <E1h9vvM-0001yK-U7@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox