summaryrefslogtreecommitdiffstats
path: root/src/test/recovery/README
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/recovery/README')
-rw-r--r--src/test/recovery/README33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/test/recovery/README b/src/test/recovery/README
new file mode 100644
index 0000000..896df0a
--- /dev/null
+++ b/src/test/recovery/README
@@ -0,0 +1,33 @@
+src/test/recovery/README
+
+Regression tests for recovery and replication
+=============================================
+
+This directory contains a test suite for recovery and replication.
+
+Running the tests
+=================
+
+NOTE: You must have given the --enable-tap-tests argument to configure.
+Also, to use "make installcheck", you must have built and installed
+contrib/pg_prewarm, contrib/pg_stat_statements and contrib/test_decoding
+in addition to the core code.
+
+Run
+ make check
+or
+ make installcheck
+You can use "make installcheck" if you previously did "make install".
+In that case, the code in the installation tree is tested. With
+"make check", a temporary installation tree is built from the current
+sources and then tested.
+
+Either way, this test initializes, starts, and stops several test Postgres
+clusters.
+
+If you want to test WAL consistency checking, add
+PG_TEST_EXTRA=wal_consistency_checking
+to the "make" command. This is resource-intensive, so it's not done
+by default.
+
+See src/test/perl/README for more info about running these tests.