Re: Detecting pointer misalignment (was Re: pgsql: Implementation of subscripting for jsonb)
Alexander Korotkov <aekorotkov@gmail.com>
From: Alexander Korotkov <aekorotkov@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>,
Heikki Linnakangas <hlinnaka@iki.fi>, Alexander Korotkov <akorotkov@postgresql.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-02-14T00:42:28Z
Lists: pgsql-hackers
On Sun, Feb 14, 2021 at 1:59 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > I wrote: > > Alexander Korotkov <aekorotkov@gmail.com> writes: > >> On Fri, Feb 12, 2021 at 8:19 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > >>> Once this does settle, should we consider back-patching so that it's > >>> possible to run alignment checks in the back branches too? > > >> +1 > > > Let's make sure we have a clean set of builds and then do that. > > The buildfarm seems to be happy --- the active members that haven't > reported in should be unaffected by this patch, either because their > compiler versions are too old or because they're not x86 architecture. > So I went ahead and back-patched, and have adjusted longfin to apply > the -fsanitize switch in all branches. Perfect, thank you very much! ------ Regards, Alexander Korotkov
Commits
-
pg_attribute_no_sanitize_alignment() macro
- cc7ea0717b12 9.6.22 landed
- c86eae39ce1e 13.3 landed
- c3dc311ffd64 12.7 landed
- 22001684623b 11.12 landed
- 02e7da01a436 10.17 landed
- 993bdb9f935a 14.0 landed
-
Tweak compiler version cutoff for no_sanitize("alignment") support.
- ad2ad698ac16 14.0 landed
-
Implementation of subscripting for jsonb
- 676887a3b0b8 14.0 cited