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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] possibility to specify template database for pg_regress
Дата
Msg-id CAB7nPqT-vw4uB4LC1EA7tU=30KNErwe18AA82Nk2NHEfgpauoQ@mail.gmail.com
обсуждение исходный текст
Ответ на [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  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Feb 8, 2017 at 12:43 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> Is possible to specify template database for pg_regress?
> I have to run tests on database with thousands database objects. Using
> template is much faster than import these objects.

Not directly, all the databases created by pg_regress are enforced
with template0.. Having a switch sounds useful though without seeing
in details your use case.
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] DROP SUBSCRIPTION and ROLLBACK
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] possibility to specify template database for pg_regress