Re: Regression tests failing if not launched on db "regression"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Regression tests failing if not launched on db "regression"
Дата
Msg-id 32497.1386269529@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Regression tests failing if not launched on db "regression"  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Regression tests failing if not launched on db "regression"
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [RFC] Shouldn't we remove annoying FATAL messages from server log?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Re: [RFC] Shouldn't we remove annoying FATAL messages from server log?