Re: compiler attribute alloc_size

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
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-13 14:39:10
Message-ID: CAN4CZFPy3mpBWj+CYKGP3PcOPbAiiXeCmM=Ajeyev-7yfX+ePQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

#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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Siddharth Kothari 2026-11-13 14:58:44 Re: [PATCH] Add RetrieveInstrumentation hook for CustomScan providers
Previous Message Zsolt Parragi 2026-11-13 14:18:43 Re: Patch for migration of the pg_commit_ts directory