[COMMITTERS] pgsql: Fix issues in e8fdbd58fe.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема [COMMITTERS] pgsql: Fix issues in e8fdbd58fe.
Дата
Msg-id E1cwe3W-0007SS-Fw@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Improve 64bit atomics support.
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Improve 64bit atomics support.