Обсуждение: pgsql: Report test_atomic_ops() failures consistently, via macros.

Поиск
Список
Период
Сортировка

pgsql: Report test_atomic_ops() failures consistently, via macros.

От
Noah Misch
Дата:
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/20190915160021.GA24376@alvherre.pgsql

Branch
------
master

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

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