pgsql: Report test_atomic_ops() failures consistently, via macros. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Report test_atomic_ops() failures consistently, via macros.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Report test_atomic_ops() failures consistently, via macros.

This prints the unexpected value in more failure cases, and it removes
forty-eight hand-maintained error messages.  Back-patch to 9.5, which
introduced these tests.

Reviewed (in an earlier version) by Andres Freund.

Discussion: https://postgr.es/m/[email protected]

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2dbd2cc5a9295f821022e87e20450428ab017608

Modified Files
--------------
src/test/regress/regress.c | 227 ++++++++++++++++-----------------------------
1 file changed, 81 insertions(+), 146 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Avoid use of wildcard in pg_waldump's .gitignore.
Next
From: Tomas Vondra
Date:
Subject: pgsql: Change MemoryContextMemAllocated to return Size