summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTom Lane2022-01-15 20:54:10 +0000
committerTom Lane2022-01-15 20:54:10 +0000
commit4483b2cf29bfe8091b721756928ccbe31c5c8e14 (patch)
tree11852ad183bf4b5149e053f602ec8a7de521be4c /doc
parent46cf109089e8b0eeb3370c0f482b0aaf0becaae0 (diff)
Remove standby_schedule and associated test files.
Since this test schedule is not run by default, it's next door to unused. Moreover, its test coverage is very thin, and what there is is just about entirely superseded by the src/test/recovery tests. Let's drop it instead of carrying obsolete tests. Discussion: https://postgr.es/m/3911012.1641246643@sss.pgh.pa.us
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/regress.sgml46
1 files changed, 0 insertions, 46 deletions
diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml
index 724ef566e76..8cf10085d35 100644
--- a/doc/src/sgml/regress.sgml
+++ b/doc/src/sgml/regress.sgml
@@ -391,52 +391,6 @@ make check EXTRA_TESTS=numeric_big
</screen>
</para>
</sect2>
-
- <sect2>
- <title>Testing Hot Standby</title>
-
- <para>
- The source distribution also contains regression tests for the static
- behavior of Hot Standby. These tests require a running primary server
- and a running standby server that is accepting new WAL changes from the
- primary (using either file-based log shipping or streaming replication).
- Those servers are not automatically created for you, nor is replication
- setup documented here. Please check the various sections of the
- documentation devoted to the required commands and related issues.
- </para>
-
- <para>
- To run the Hot Standby tests, first create a database
- called <literal>regression</literal> on the primary:
-<screen>
-psql -h primary -c "CREATE DATABASE regression"
-</screen>
- Next, run the preparatory script
- <filename>src/test/regress/sql/hs_primary_setup.sql</filename>
- on the primary in the regression database, for example:
-<screen>
-psql -h primary -f src/test/regress/sql/hs_primary_setup.sql regression
-</screen>
- Allow these changes to propagate to the standby.
- </para>
-
- <para>
- Now arrange for the default database connection to be to the standby
- server under test (for example, by setting the <envar>PGHOST</envar> and
- <envar>PGPORT</envar> environment variables).
- Finally, run <literal>make standbycheck</literal> in the regression directory:
-<screen>
-cd src/test/regress
-make standbycheck
-</screen>
- </para>
-
- <para>
- Some extreme behaviors can also be generated on the primary using the
- script <filename>src/test/regress/sql/hs_primary_extremes.sql</filename>
- to allow the behavior of the standby to be tested.
- </para>
- </sect2>
</sect1>
<sect1 id="regress-evaluation">