pgsql: Test replay of regression tests.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Test replay of regression tests.
Date: 2022-01-14 11:24:15
Message-ID: E1n8Kgp-0000tL-Jp@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Test replay of regression tests.

Add a new TAP test under src/test/recovery to run the standard
regression tests while a streaming replica replays the WAL. This
provides a basic workout for WAL decoding and redo code, and compares
the replicated result.

Optionally, enable (expensive) wal_consistency_checking if listed in
the env variable PG_TEST_EXTRA.

Reviewed-by: 綱川 貴之 (Takayuki Tsunakawa) <tsunakawa(dot)takay(at)fujitsu(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Andrew Dunstan <andrew(at)dunslane(dot)net>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Anastasia Lubennikova <lubennikovaav(at)gmail(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/CA%2BhUKGKpRWQ9SxdxxDmTBCJoR0YnFpMBe7kyzY8SUQk%2BHeskxg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/123828a7fa563025d0ceee10cf1b2a253cd05319

Modified Files
--------------
doc/src/sgml/regress.sgml | 11 +++++
src/test/recovery/Makefile | 6 ++-
src/test/recovery/t/027_stream_regress.pl | 80 +++++++++++++++++++++++++++++++
src/tools/msvc/vcregress.pl | 2 +
4 files changed, 98 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2022-01-14 11:56:58 pgsql: Revert "Test replay of regression tests."
Previous Message Peter Eisentraut 2022-01-14 10:27:59 pgsql: Rename value node fields