]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Re-add regression tests for ltree and intarray
authorMichael Paquier <michael@paquier.xyz>
Fri, 15 May 2026 09:02:53 +0000 (18:02 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 15 May 2026 09:02:53 +0000 (18:02 +0900)
commit4503c97716835eacd304384ccc896c54e0b7fdda
tree75a5bf6a6efec72e03d0e16a0f4ecd65b9b9504d
parent77b2d18e9c3b1d42576cfb8c46c25592eb908780
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
contrib/intarray/expected/_int.out
contrib/intarray/sql/_int.sql
contrib/ltree/expected/ltree.out
contrib/ltree/sql/ltree.sql