Re: pgsql: Implementation of subscripting for jsonb

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Alexander Korotkov <akorotkov@postgresql.org>, pgsql-committers@lists.postgresql.org
Date: 2021-02-01T07:05:10Z
Lists: pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> On 31/01/2021 22:54, Alexander Korotkov wrote:
>> Implementation of subscripting for jsonb

> The Itanium and sparc64 buildfarm members didn't like this, and are 
> crashing at "select ('123'::jsonb)['a'];". Unaligned memory access, perhaps?

I think I just identified the cause.

			regards, tom lane



Commits

  1. pg_attribute_no_sanitize_alignment() macro

  2. Tweak compiler version cutoff for no_sanitize("alignment") support.

  3. Implementation of subscripting for jsonb