Re: pg_regress restart cluster?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_regress restart cluster?
Дата
Msg-id 25395.1568052742@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_regress restart cluster?  (Jeremy Finzel <finzelj@gmail.com>)
Список pgsql-hackers
Jeremy Finzel <finzelj@gmail.com> writes:
> I am using the basic extension building infrastructure with sql and
> expected files, but what I want to test is changing a config setting and
> then restarting the cluster with shared_preload_libraries in place. Is
> there a canonical way to do this or does anyone have any examples of this?
> I appreciate it very much!

pg_regress doesn't have any support for that, but you can do it pretty
easily in the context of a TAP test.  There are a bunch of examples
in the existing TAP tests --- look around for uses of append_conf().

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Sloppy port assignment in src/test/ldap/
Следующее
От: Yuli Khodorkovskiy
Дата:
Сообщение: Re: add a MAC check for TRUNCATE