public inbox for [email protected]  
help / color / mirror / Atom feed
From: Michael Paquier <[email protected]>
To: [email protected]
Subject: pgsql: Re-add regression tests for ltree and intarray
Date: Fri, 15 May 2026 09:04:01 +0000
Message-ID: <[email protected]> (raw)

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/[email protected]
Backpatch-through: 14

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f71f72e89abf085c9b2266252694f503bdcdb92a

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(+)



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]
  Subject: Re: pgsql: Re-add regression tests for ltree and intarray
  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