Re-add recently-removed tests for ltree and intarray

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re-add recently-removed tests for ltree and intarray
Date: 2026-05-14 23:38:17
Message-ID: agZc6XecyE7E7fep@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

Some of you may have noticed that some regression tests have been
removed due to some noise in the buildfarm, as of commit 906ea101d0d5.

We did not have time to do something for this release, unfortunately.
It is possible to reproduce the incompatibility by setting
max_stack_depth to a low value, where the first new query of ltree and
intarray would fail, when written in their original shape.

Tom had the idea to switch these two unstable tests to use a balanced
binary tree instead, so as they don't eat the stack still are able to
cover the recent fixes pushed into the tree.

And this investigation has led me to the attached, to-be-backpatched
down to v14. Even under a low max_stack_depth, these new tests are
stable. I could not see an issue for the two tests added at the
bottom of ltree.

Opinions or comments?

Thanks,
--
Michael

Attachment Content-Type Size
0001-Re-add-regression-tests-for-ltree-and-intarray.patch text/plain 5.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-05-14 23:40:26 Re: Fix jsonpath .split_part() to honor silent mode
Previous Message Alexandra Wang 2026-05-14 23:13:26 Re: Is there value in having optimizer stats for joins/foreignkeys?