On Sun, Nov 22, 2026 at 9:15 PM Zsolt Parragi <[email protected]>
wrote:

> Wouldn't it be better to first discuss 0001, and leave 2-5 for later?
>

Up to you.

> There is a bit complexity to it than just picking from a pool since there
> are inter-suite dependencies.


Exactly, and the schedule language can't express that. There are a few
comments,
but as we know, good comments don't make the code work.

Currently the conflicting, or dependencies are ordered by placing them in
different
batches (that implies a fence between them)
instead of
17:  test: \
35:      rangetypes \
44:  test: \
45:      strings \
64:      multirangetypes
71:  test: \
77:      opr_sanity

It works, but doesn't express the intent.

For that what I am suggesting is to put the related tests in one single
group that expresses the relation more clearly.

e.g.
+ test sequentially: rangetypes (multirangetypes strings) type_sanity

We could choose other schemes, like the makefile syntax, but I like
this approach because we don't have to do string lookups.
And if we want to run the same tests multiple times it is also fine.

things like
+ test sequentially: setup part1 reconfigure part1 part2

where test1 is evaluated twice with different initial states.


The grammar comment says test-name = [^ \t\n\r\\#]+, but the code uses
> a byte range:


Fixed,
making the test name [^ \t\n\r#\\,:()]+ in addition to the characters in use
,
I am reserving the comma and colon.
I just noticed an implicit TESTNAME_WIDTH=36 but that was never a hard
limit.

Regards,
Alexandre.

Attachment: v3.1-0004-pg_regress-pool-instead-of-batches.patch
Description: Binary data

Attachment: v3.1-0005-pg_regress-concurrent-and-sequential-groups.patch
Description: Binary data

Attachment: v3.1-0003-pg_regress-dependency-graph.patch
Description: Binary data

Attachment: v3.1-0002-pg_regress-report-group-effective-concurrency.patch
Description: Binary data

Attachment: v3.1-0001-pg_regress-multi-line-test-groups.patch
Description: Binary data

Reply via email to