Re: [HACKERS] psql & regress tests

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] psql & regress tests
Дата
Msg-id 318.942970643@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] psql & regress tests  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] psql & regress tests  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: [HACKERS] psql & regress tests  (wieck@debis.com (Jan Wieck))
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> * Since no one has picked up on my idea to run the tests directly on the
>> backend, I will keep reiterating this idea until someone shuts me up

> Running the backend standalone does not use locking with other backends,
> so it is dangerous.

It wouldn't be particularly "dangerous" if we assume that no one else is
accessing the regression database.  What it *would* be is less useful at
catching problems.  Standalone mode wouldn't test the cross-backend
interlocking code at all.

Admittedly, running a bunch of tests serially isn't a strong stress test
of cross-backend behavior, but it's not as content-free a check as you
might think.  On my machine, at least, the old backend is still around
doing shutdown for the first half-second or so while the next one is
running.

What I'd really like to see is some deliberate parallelism in some of
the regress tests...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] psql & regress tests
Следующее
От: Bruce Momjian
Дата:
Сообщение: pg version date file