Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
abeb17cd
Commit
abeb17cd
authored
May 02, 2010
by
Simon Riggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs for standbycheck regression tests.
parent
98bbab47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
1 deletion
+41
-1
doc/src/sgml/regress.sgml
doc/src/sgml/regress.sgml
+41
-1
No files found.
doc/src/sgml/regress.sgml
View file @
abeb17cd
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.6
6 2010/04/03 07:22:55 petere
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.6
7 2010/05/02 12:22:40 sriggs
Exp $ -->
<chapter id="regress">
<title>Regression Tests</title>
...
...
@@ -142,6 +142,46 @@ gmake installcheck
You can also do this in a subdirectory of <filename>contrib</> to run
the tests for just one module.
</para>
<para>
The source distribution also contains regression tests of the static
behaviour 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 the setup
documented here. Please check the various sections of the docs already
devoted to the required commands and related issues.
</para>
<para>
First create a database called "regression" on the primary.
<screen>
psql -h primary -c "CREATE DATABASE regression"
</screen>
Next, run a preparatory script on the primary in the regression database:
<filename>src/test/regress/sql/hs_primary_setup.sql</filename>, and
allow for the changes to propagate to the standby, for example
<screen>
psql -h primary -f src/test/regress/sql/hs_primary_setup.sql regression
</screen>
Now confirm that the default connection for the tester is the standby
server under test and then run standbycheck from the regression
directory.
<screen>
cd src/test/regress
gmake standbycheck
</screen>
</para>
<para>
Some extreme behaviours can also be generated on the primary using the
script: <filename>src/test/regress/sql/hs_primary_extremes.sql</filename>
to allow the behaviour of the standby to be tested.
</para>
<para>
Additional automated testing may be available in later releases.
</para>
</sect1>
<sect1 id="regress-evaluation">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment