On 28 May 2018 at 15:06, Craig Ringer <cr...@2ndquadrant.com> wrote: > Hi > > Per topic, the Pg makefiles install pg_regress (for use by extensions) and > htey install the isolationtester, but they don't install > pg_isolation_regress. > > We should install it too. >
Now with a patch that isn't brain-dead. I'm wondering if I should add ISOLATION support to PGXS too, like we have REGRESS . -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
From 819eda0c40617b57a8ddd1b5d4d30de453bc11ec Mon Sep 17 00:00:00 2001 From: Craig Ringer <cr...@2ndquadrant.com> Date: Fri, 1 Jun 2018 11:26:09 +0800 Subject: [PATCH v2] Install pg_isolation_regress not just isolationtester --- src/test/isolation/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/isolation/Makefile b/src/test/isolation/Makefile index c3c8280ea2..911bb5f43a 100644 --- a/src/test/isolation/Makefile +++ b/src/test/isolation/Makefile @@ -64,3 +64,9 @@ installcheck-prepared-txns: all temp-install check-prepared-txns: all temp-install $(pg_isolation_regress_check) --schedule=$(srcdir)/isolation_schedule prepared-transactions + +installdirs: + $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/$(subdir)' + +install: all installdirs + $(INSTALL_PROGRAM) pg_isolation_regress$(X) '$(DESTDIR)$(pgxsdir)/$(subdir)/pg_isolation_regress$(X)' -- 2.14.3