Re: __attribute__ for non-gcc compilers - Mailing list pgsql-hackers

From Oskari Saarenmaa
Subject Re: __attribute__ for non-gcc compilers
Date
Msg-id 54E34519.2010803@ohmu.fi
Whole thread Raw
In response to Re: __attribute__ for non-gcc compilers  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: __attribute__ for non-gcc compilers  (Andres Freund <andres@2ndquadrant.com>)
Re: __attribute__ for non-gcc compilers  (Robert Haas <robertmhaas@gmail.com>)
Re: __attribute__ for non-gcc compilers  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
15.01.2015, 21:58, Robert Haas kirjoitti:
> On Wed, Jan 14, 2015 at 5:54 PM, Andres Freund <andres@2ndquadrant.com> wrote:
>> I think I'd for now simply not define pg_attribute_aligned() on
>> platforms where it's not supported, instead of defining it empty. If we
>> need a softer variant we can name it pg_attribute_aligned_if_possible or
>> something.
>>
>> Sounds sane?
>
> Yes, that sounds like a much better plan.

Attached an updated patch rebased on today's git master that never
defines aligned or packed empty.

This is also included in the current commitfest,
https://commitfest.postgresql.org/4/115/

/ Oskari

Attachment

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: KNN-GiST with recheck
Next
From: Michael Paquier
Date:
Subject: Re: Bug in pg_dump