Re: [HACKERS] possibility to specify template database for pg_regress
От | Michael Paquier |
---|---|
Тема | Re: [HACKERS] possibility to specify template database for pg_regress |
Дата | |
Msg-id | CAB7nPqSJhUYQz0bTX1JcsndfiVxN0QaqdfOC4P4JOMHXqFYEqw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] possibility to specify template database for pg_regress (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: [HACKERS] possibility to specify template database for pg_regress
|
Список | pgsql-hackers |
On Tue, Feb 14, 2017 at 11:36 AM, Andres Freund <andres@anarazel.de> wrote: > On 2017-02-13 20:59:43 +0100, Pavel Stehule wrote: >> Hi >> >> 2017-02-13 6:46 GMT+01:00 Michael Paquier <michael.paquier@gmail.com>: >> >> > On Sat, Feb 11, 2017 at 3:03 PM, Pavel Stehule <pavel.stehule@gmail.com> >> > wrote: >> > > here is new update - check is done before any creating >> > >> > It may be better to do any checks before dropping existing databases >> > as well... It would be as well just simpler to complain with a single >> > error message like "database and template list lengths do not match". >> > >> >> next step This looks fine to me. > 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. -- Michael
В списке pgsql-hackers по дате отправления: