pgsql: Re-add regression tests for ltree and intarray

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Re-add regression tests for ltree and intarray
Date: 2026-05-15 05:27:45
Message-ID: E1wNl5N-000bkM-13@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Re-add regression tests for ltree and intarray

These tests have been removed by 906ea101d0d5, due to some of them being
unstable in the buildfarm with low max_stack_depth values. They are now
reworked so as they should be more portable.

The tests to cover the findoprnd() overflows use a balanced tree to
avoid using too much stack, per a suggestion and an investigation by Tom
Lane.

Note: This is initially applied only on HEAD; a backpatch will follow
should the buildfarm be fine with the situation.

Discussion: https://postgr.es/m/agZc6XecyE7E7fep@paquier.xyz
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/27bdae84137f35af42ca5ae4f0507dfb8c69db60

Modified Files
--------------
contrib/intarray/expected/_int.out | 15 +++++++++++++++
contrib/intarray/sql/_int.sql | 13 +++++++++++++
contrib/ltree/expected/ltree.out | 24 ++++++++++++++++++++++++
contrib/ltree/sql/ltree.sql | 20 ++++++++++++++++++++
4 files changed, 72 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-05-15 09:04:01 pgsql: Re-add regression tests for ltree and intarray
Previous Message Fujii Masao 2026-05-15 05:25:34 pgsql: psql: Fix tab completion for REPACK boolean options