aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-08-24 15:16:23 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-08-24 15:17:03 -0400
commit5354abb8f69734ff1c07cee5e29845b74d46e9d6 (patch)
tree41ce669b9550d8668a78f72d7bd2dac0cd2bf64f /doc/src
parented1a4adbe38ed94cc2e3c017a9f5be4b282bccb9 (diff)
downloadpostgresql-5354abb8f69734ff1c07cee5e29845b74d46e9d6.tar.gz
postgresql-5354abb8f69734ff1c07cee5e29845b74d46e9d6.zip
Fix pgxs.mk to always add --dbname=$(CONTRIB_TESTDB) to REGRESS_OPTS.
The previous coding resulted in contrib modules unintentionally overriding the use of CONTRIB_TESTDB. There seems no particularly good reason to allow that (after all, the makefile can set CONTRIB_TESTDB if that's really what it intends). In passing, document REGRESS_OPTS where the other pgxs.mk options are documented. Back-patch to 9.1 --- in prior versions, there were no cases of contrib modules setting REGRESS_OPTS without including the --dbname switch, so while the coding was fragile there was no actual bug.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/extend.sgml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/sgml/extend.sgml b/doc/src/sgml/extend.sgml
index ab538cb5008..35a5ae8fd42 100644
--- a/doc/src/sgml/extend.sgml
+++ b/doc/src/sgml/extend.sgml
@@ -1050,6 +1050,15 @@ include $(PGXS)
</varlistentry>
<varlistentry>
+ <term><varname>REGRESS_OPTS</varname></term>
+ <listitem>
+ <para>
+ additional switches to pass to <application>pg_regress</>
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>EXTRA_CLEAN</varname></term>
<listitem>
<para>