public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Dmytro Astapov <[email protected]>
Cc: [email protected]
Subject: Re: array_agg(anyarray) silently produces corrupt results with parallel workers when inputs mix NULL and non-NULL array elements
Date: Mon, 06 Apr 2026 13:16:31 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAFQUnFiK=j6AudmHLWsdFTazeUd3o3CgEKiqk97V-1kSibfaZA@mail.gmail.com>
References: <CAFQUnFj2pQ1HbGp69+w2fKqARSfGhAi9UOb+JjyExp7kx3gsqA@mail.gmail.com>
	<[email protected]>
	<CAFQUnFiK=j6AudmHLWsdFTazeUd3o3CgEKiqk97V-1kSibfaZA@mail.gmail.com>

Dmytro Astapov <[email protected]> writes:
> On Sat, Apr 4, 2026 at 5:41 PM Tom Lane <[email protected]> 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






reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: array_agg(anyarray) silently produces corrupt results with parallel workers when inputs mix NULL and non-NULL array elements
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox