Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit65a193e

Browse files
committed
Document a few more regression test hazards.
Michael Paquier, reviewed by Christian Kruse
1 parentd3ee451 commit65a193e

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

‎doc/src/sgml/regress.sgml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ gmake installcheck-parallel
125125
</screen>
126126
The tests will expect to contact the server at the local host and the
127127
default port number, unless directed otherwise by <envar>PGHOST</envar> and
128-
<envar>PGPORT</envar> environment variables.
128+
<envar>PGPORT</envar> environment variables. The tests will be run in a
129+
database named <literal>regression</>; any existing database by this name
130+
will be dropped.
129131
</para>
130132

131133
<para>
@@ -147,7 +149,9 @@ gmake installcheck
147149
</screen>
148150
The <filename>contrib</> modules must have been built and installed first.
149151
You can also do this in a subdirectory of <filename>contrib</> to run
150-
the tests for just one module.
152+
the tests for just one module. Tests of <literal>contrib</> modules will
153+
be run in a database named <literal>contrib_regression</>; any existing
154+
database by this name will be dropped.
151155
</para>
152156
</sect2>
153157

@@ -471,6 +475,18 @@ diff results/random.out expected/random.out
471475
not worry unless the random test fails repeatedly.
472476
</para>
473477
</sect2>
478+
479+
<sect2>
480+
<title>Configuration Parameters</title>
481+
482+
<para>
483+
When running the tests against an existing installation, some non-default
484+
parameter settings could cause the tests to fail. For example, the
485+
settings described in <xref linkend="runtime-config-query-enable">
486+
could cause plan changes that would affect the results of tests which
487+
use <command>EXPLAIN</>.
488+
</para>
489+
</sect2>
474490
</sect1>
475491

476492
<!-- We might want to move the following section into the developer's guide. -->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp