r/databasedevelopment • • Oct 08 '26

MariaDB Foundation Adds PostgreSQL to Its Engine‑Agnostic Testing Framework (TAF).

MariaDB Foundation continues expanding TAF with PostgreSQL support

More engines, more reproducibility, more value for contributors and the ecosystem.

https://mariadb.org/mariadb-foundation-adds-postgresql-to-its-engine-agnostic-testing-framework-taf/

Have fun benchmarking!

8 Upvotes

6 comments sorted by

1

u/Significant_Tune9219 Oct 11 '26

An engine-agnostic test suite is most useful when the assertions are about behavior rather than output formatting, since that is where engines legitimately differ — collation defaults, NULL ordering, and type coercion will produce different but equally correct results. The interesting question is whether the framework treats those differences as expected outcomes per engine or as failures, because that choice determines whether it catches real regressions or just documents divergence. If it is the former, this is a genuinely good way to keep cross-engine compatibility honest.

1

u/Mindless-Piece-47 Oct 14 '26

TAF is a performance framework, not a correctness test suite. It doesn’t compare SQL output across engines — it compares performance behavior. So differences in collation, NULL ordering, or type coercion aren’t part of TAF’s domain.

1

u/Significant_Tune9219 Oct 15 '26

That's a fair correction — I read it as a correctness suite and it isn't. If it compares performance behavior across engines, collation and NULL ordering really are out of scope. The useful question then is which performance differences it treats as expected per engine versus regressions: a slower plan on one engine can be legitimate, and the framework only helps if it can tell that apart from a real regression on the same workload.

1

u/Mindless-Piece-47 Oct 15 '26

TAF doesn’t classify performance differences as “expected” or “regressions.” It just produces reproducible, comparable results across versions and engines. Interpretation is left to the engineer, not the framework.

1

u/Significant_Tune9219 Oct 16 '26

That's the part I still had wrong. If it only lines two runs up and leaves the label to the person reading them, then asking the framework to call a delta expected versus a regression is asking for a judgment it doesn't make. The number is still only useful if that call gets written down somewhere else, or the same delta gets re-argued every release. The framework's job stops at making the two runs comparable.

1

u/_harisamin Oct 08 '26

This is fantastic!