Re: (Perl) script to set up an instance for regression tests

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: (Perl) script to set up an instance for regression tests
Дата
Msg-id 3457.1165938612@sss.pgh.pa.us
обсуждение исходный текст
Ответ на (Perl) script to set up an instance for regression tests  (Florian Weimer <fweimer@bfk.de>)
Ответы Re: (Perl) script to set up an instance for regression tests  (Florian Weimer <fweimer@bfk.de>)
Список pgsql-general
Florian Weimer <fweimer@bfk.de> writes:
> For regression tests, I'd like to automatically set up a fresh
> PostgreSQL instance.  Has anybody automated the task (initdb, setting
> a password, choosing a port at random, starting the server, and after
> running the tests, stopping the server and deleting all the
> directories)?

"make check"?

> $ fakeroot /usr/lib/postgresql/8.1/bin/postgres -D . postgres
> "root" execution of the PostgreSQL server is not permitted.
> This is a major problem when autobuilding Debian packages. 8-(

Surely you don't build random packages as root.

            regards, tom lane

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

Предыдущее
От: Andrew Chernow
Дата:
Сообщение: PostgreSQL Developer Full-time Position
Следующее
От: "Shoaib Mir"
Дата:
Сообщение: Re: returning parameters from function