Re: BUG #19370: PG18 returns incorrect array slice results when slice bounds depend on another array expression - Mailing list pgsql-bugs

From David Rowley
Subject Re: BUG #19370: PG18 returns incorrect array slice results when slice bounds depend on another array expression
Date
Msg-id CAApHDvpVwUTNEQKkBVD9CQCq6N+YW7hpH6C3ZtKJQnGX4XAtpA@mail.gmail.com
Whole thread Raw
In response to BUG #19370: PG18 returns incorrect array slice results when slice bounds depend on another array expression  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #19370: PG18 returns incorrect array slice results when slice bounds depend on another array expression
List pgsql-bugs
On Tue, 6 Jan 2026 at 21:22, PG Bug reporting form
<noreply@postgresql.org> wrote:
> I have encountered a behavioral regression in PostgreSQL 18 related to array
> slicing when the slice start index is computed from another array expression
> in the same SELECT list.
>
> The attached SQL query (included below in full for reproducibility)

Many thanks for the report and reproducer. I've not looked as to why,
but this seems to be caused by a7f107df2. I've included Andres.

David



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #19371: programı yüklerken hata veriyor
Next
From: Andrii
Date:
Subject: Bug Report: PostgreSQL 16 crashes on ALTER USER CURRENT_USER WITH PASSWORD