From d1d388603e4f9233d3e01847405b239972a54fdf Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 24 Aug 2011 15:16:17 -0400 Subject: 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. --- doc/src/sgml/extend.sgml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/src') 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 @@ -1049,6 +1049,15 @@ include $(PGXS) + + REGRESS_OPTS + + + additional switches to pass to pg_regress + + + + EXTRA_CLEAN -- cgit v1.2.3