Re: Detecting pointer misalignment (was Re: pgsql: Implementation of subscripting for jsonb) - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: Detecting pointer misalignment (was Re: pgsql: Implementation of subscripting for jsonb)
Date
Msg-id CAPpHfdsn8cSQ96GMJa+Gk3acNKxBd83vu63fLFF+nynxGbArhQ@mail.gmail.com
Whole thread Raw
In response to Re: Detecting pointer misalignment (was Re: pgsql: Implementation of subscripting for jsonb)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Feb 11, 2021 at 9:46 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alexander Korotkov <aekorotkov@gmail.com> writes:
> > On Mon, Feb 8, 2021 at 7:49 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Ugh, no it isn't: even pretty recent clang releases only define
> >> __GNUC__ as 4.  It looks like we need a separate test on clang's
> >> version.  I looked at their version history and sanitizers seem
> >> to have come in around clang 7, so I propose the attached (where
> >> I worked a bit harder on the comment, too).
>
> > Looks good to me.  Thank you for revising!
>
> Were you going to push this, or did you expect me to?

Thank you for noticing.  I'll commit this today.

------
Regards,
Alexander Korotkov



pgsql-hackers by date:

Previous
From: Ian Lawrence Barwick
Date:
Subject: [DOC] add missing "[ NO ]" to various "DEPENDS ON" synopses
Next
From: Greg Nancarrow
Date:
Subject: Re: Libpq support to connect to standby server as priority