Re: [HACKERS] possibility to specify template database for pg_regress

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] possibility to specify template database for pg_regress
Дата
Msg-id 20170214025037.ehahakimaibtlkpz@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] possibility to specify template database for pg_regress  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [HACKERS] possibility to specify template database for pg_regress  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: [HACKERS] possibility to specify template database for pg_regress  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
On 2017-02-14 11:46:52 +0900, Michael Paquier wrote:
> > I still fail to see why --use-existing as suggested in
> > https://www.postgresql.org/message-id/20170208002900.vkldujzfkwbvqqq7@alap3.anarazel.de
> > isn't sufficient.
> 
> Some tests create objects without removing them, meaning that
> continuous runs would fail with only --use-existing. This patch brings
> value in such cases.

You can trivially script the CREATE/DROP DB outside with
--use-existing. Which seems a lot more flexible than adding more and
more options to pg_regress.



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] possibility to specify template database for pg_regress
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Possible TODO: allow arbitrary expressions in event trigger WHEN