Re: pg_regress restart cluster?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeremy Finzel <finzelj(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_regress restart cluster?
Date: 2019-09-09 18:12:22
Message-ID: 25395.1568052742@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jeremy Finzel <finzelj(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yuli Khodorkovskiy 2019-09-09 19:27:01 Re: add a MAC check for TRUNCATE
Previous Message Tom Lane 2019-09-09 18:05:46 Sloppy port assignment in src/test/ldap/