Re: Regression tests failing if not launched on db "regression" - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Regression tests failing if not launched on db "regression"
Date
Msg-id 32497.1386269529@sss.pgh.pa.us
Whole thread Raw
In response to Re: Regression tests failing if not launched on db "regression"  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Regression tests failing if not launched on db "regression"
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Dec 5, 2013 at 9:24 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Michael Paquier <michael.paquier@gmail.com> writes:
>>> It happens that the following regression tests are failing if they are
>>> run on a database not named "regression":

>> This does not seem like a bug to me, although maybe we'd better update the
>> documentation to specify that you need to use a DB named regression.

> At the same thing, supporting it might not cost anything.

Well, changing these specific tests today might not be terribly expensive,
but what is it that prevents more such tests from being committed next
week?  Perhaps by somebody who feels current_database() should be included
in code coverage, for example?

More generally, we never have and never can promise that the regression
tests pass regardless of environment.  If you turn off enable_seqscan,
for instance, you'll get a whole lot of not-terribly-exciting diffs.
I see no particular benefit to promising that the name of the regression
database isn't significant.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [RFC] Shouldn't we remove annoying FATAL messages from server log?
Next
From: Josh Berkus
Date:
Subject: Re: Re: [RFC] Shouldn't we remove annoying FATAL messages from server log?