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) <[email protected]>
Reviewed-by: Andres Freund <[email protected]>
Reviewed-by: Andrew Dunstan <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Reviewed-by: Anastasia Lubennikova <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
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(-)

Reply via email to