pgsql: Make slab allocator work on platforms with MAXIMUM_ALIGNOF < siz

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make slab allocator work on platforms with MAXIMUM_ALIGNOF < siz
Date: 2017-05-18 19:22:22
Message-ID: E1dBR0A-0006Ma-F5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make slab allocator work on platforms with MAXIMUM_ALIGNOF < sizeof(int).

Notably, m68k only needs 2-byte alignment. Per report from Christoph Berg.

Discussion: https://www.postgresql.org/message-id/20170517193957.fwntkgi6epuso5l2@msg.df7cb.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/94884e1c27ccd38bf494fc7f5aa46b269bbb6c9c

Modified Files
--------------
src/backend/utils/mmgr/slab.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Piotr Stefaniak 2017-05-18 20:27:18 Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.)
Previous Message Robert Haas 2017-05-18 18:05:59 pgsql: Don't explicitly mark range partitioning columns NOT NULL.