Re: compiler attribute alloc_size

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: compiler attribute alloc_size
Date: 2026-11-20 15:17:27
Message-ID: 1c8f1222-d7b3-4c4b-85fb-78b0614057d6@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 13.11.26 15:39, Zsolt Parragi wrote:
> #define SET_VARSIZE_4B_C(PTR,len) \
> - (((varattrib_4b *) (PTR))->va_4byte.va_header = ((len) & 0x3FFFFFFF)
> | 0x40000000)
> + (((varattrib_4b_normal *) (PTR))->va_4byte.va_header = ((len) &
> 0x3FFFFFFF) | 0x40000000)
>
> That seems to be a missed removal? Should be ->va_header

Yes, this is in the big-endian branch that I did not test. I will fix
this in the next patch set. Thanks.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-11-20 15:18:36 Re: timetz does not recognize localized timezone names (tested on v14 to v18)
Previous Message Greg Burd 2026-11-20 15:13:39 Re: ZSTD TOAST compression, and an extensible compression method encoding