aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-08-24 15:16:17 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-08-24 15:16:50 -0400
commitd1d388603e4f9233d3e01847405b239972a54fdf (patch)
tree7706216f61ffa62f2cecf5ebdb1c8a721615848c /doc/src
parent4803de6f8932e2f2b96bb1243ba07a05cd2c3ae5 (diff)
downloadpostgresql-d1d388603e4f9233d3e01847405b239972a54fdf.tar.gz
postgresql-d1d388603e4f9233d3e01847405b239972a54fdf.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>