*** a/doc/src/sgml/regress.sgml
--- b/doc/src/sgml/regress.sgml
***************
*** 471,476 **** diff results/random.out expected/random.out
--- 471,510 ----
       not worry unless the random test fails repeatedly.
      </para>
     </sect2>
+ 
+    <sect2>
+     <title>Planner Configuration parameters</title>
+ 
+     <para>
+      Parameters able to change the planning of queries like enable/disable
+      flags described in <xref linkend="runtime-config-query-enable"> for
+      <command>EXPLAIN</> should use default values.
+     </para>
+    </sect2>
+ 
+    <sect2>
+     <title>Database Name</title>
+ 
+     <para>
+      Regression tests should be run on a database named <literal>regression</>
+      to prevent failures of tests using directly or indirectly the current
+      database name in output results. The tests that would fail in this case
+      include <literal>updatable_views</literal>, <literal>foreign_data</literal>,
+      <literal>xml_map</literal> and <literal>sequence</literal>.
+     </para>
+ 
+     <para>
+      <literal>regression</> is the default database name for tests of core,
+      and contrib modules use <literal>contrib_regression</> as default.
+     </para>
+ 
+     <para>
+      Running regression tests with <application>pg_regress</application>
+      causes the existed database to be dropped before running the tests,
+      so be sure that there is not already a database with the same name
+      existing on server before running it.
+     </para>
+    </sect2>
    </sect1>
  
  <!-- We might want to move the following section into the developer's guide. -->
