Re: Add counted_by attribute

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomas Vondra <tomas(at)vondra(dot)me>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Tristan Partin <tristan(at)partin(dot)io>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Japin Li <japinli(at)hotmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Add counted_by attribute
Date: 2026-11-27 17:18:56
Message-ID: 2011962.1795799936@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tomas Vondra <tomas(at)vondra(dot)me> writes:
> On 11/26/26 11:50, Peter Eisentraut wrote:
>> The problem is that clang rejects things like
>>     memcpy(&p->a[0], ...);
>> when the associated count is 0.

> I independently discovered this issue (with UBSan) today while working
> on some memory-safety fixes, convinced myself it's right to adjust the
> parallelCurrentXids accesses and pushed the fix.

I believe this is also the reason why BF animal kestrel has failed
its last few runs. Thanks for the fix.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Tomas Vondra 2026-11-27 17:04:24 Re: Add counted_by attribute