[COMMITTERS] pgsql: Fix issues in e8fdbd58fe. - Mailing list pgsql-committers

From Andres Freund
Subject [COMMITTERS] pgsql: Fix issues in e8fdbd58fe.
Date
Msg-id E1cwe3W-0007SS-Fw@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix issues in e8fdbd58fe.

When the 64bit atomics simulation is in use, we can't necessarily
guarantee the correct alignment of the atomics due to lack of compiler
support for doing so- that's fine from a safety perspective, because
everything is protected by a lock, but we asserted the alignment in
all cases.  Weaken them.  Per complaint from Alvaro Herrera.

My #ifdefery for PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY wasn't
sufficient. Fix that.  Per complaint from Alexander Korotkov.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f13a9121f9822eafe05cc3178bf046155a248173

Modified Files
--------------
src/include/port/atomics.h         | 29 ++++++++++++++++++++--
src/include/port/atomics/generic.h | 49 +++++++++++++++++++++++++++-----------
2 files changed, 62 insertions(+), 16 deletions(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: [COMMITTERS] pgsql: Improve 64bit atomics support.
Next
From: Andres Freund
Date:
Subject: Re: [COMMITTERS] pgsql: Improve 64bit atomics support.