Re: array_agg(anyarray) silently produces corrupt results with parallel workers when inputs mix NULL and non-NULL array elements - Mailing list pgsql-bugs

From Tom Lane
Subject Re: array_agg(anyarray) silently produces corrupt results with parallel workers when inputs mix NULL and non-NULL array elements
Date
Msg-id 1443505.1775495791@sss.pgh.pa.us
Whole thread Raw
In response to Re: array_agg(anyarray) silently produces corrupt results with parallel workers when inputs mix NULL and non-NULL array elements  (Dmytro Astapov <dastapov@gmail.com>)
List pgsql-bugs
Dmytro Astapov <dastapov@gmail.com> writes:
> On Sat, Apr 4, 2026 at 5:41 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> So I end with the attached revised patch, where I also made one
>> or two cosmetic adjustments like putting the type-comparison checks
>> next to the dimension comparisons.  Look good to you?

> Looks good, thank you for improving it.

Great, pushed then.  Many thanks for the bug report and fix!

            regards, tom lane



pgsql-bugs by date:

Previous
From: Dmytro Astapov
Date:
Subject: Re: array_agg(anyarray) silently produces corrupt results with parallel workers when inputs mix NULL and non-NULL array elements
Next
From: PG Bug reporting form
Date:
Subject: BUG #19451: In postgreSQL v13 For 1000 tables how to update from rrn column to GUID. Each table more than 2crore