Re: REGRESS_OPTS default - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: REGRESS_OPTS default
Date
Msg-id 1314210611.17771.2.camel@vanquo.pezone.net
Whole thread Raw
In response to REGRESS_OPTS default  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On tis, 2011-08-23 at 21:17 -0400, Tom Lane wrote:
> There are at least two ways we could fix this: change
> earthdistance/Makefile to do this:
> 
> REGRESS_OPTS = --extra-install=contrib/cube --dbname=$(CONTRIB_TESTDB)
> 
> or change pgxs.mk to do this:
> 
> REGRESS_OPTS += --dbname=$(CONTRIB_TESTDB)
> 
> I'm leaning towards the latter as being less prone to mistakes of
> omission.  If there's some reason for a pgxs-using makefile to
> override
> the target DB name, it can set CONTRIB_TESTDB instead of messing with
> REGRESS_OPTS.

I like the latter solution as well.



pgsql-hackers by date:

Previous
From: Daniel Farina
Date:
Subject: Should I implement DROP INDEX CONCURRENTLY?
Next
From: Merlin Moncure
Date:
Subject: Re: Should I implement DROP INDEX CONCURRENTLY?