RE: [bugfix]"make installcheck" could not work in PGXS

2020-08-06 Thread matsumura....@fujitsu.com
Hello, On Fri, Aug 5, 2020 at 10:57:56 +, Michael Paquier wrote: > Yeah, that's a known problem. One way to counter that is for example > to grab the path of pg_regress from pg_config --libdir and set > $ENV{PG_REGRESS} to it, but that's hacky. So I agree that it would be > good to do

Re: [bugfix]"make installcheck" could not work in PGXS

2020-07-31 Thread Michael Paquier
On Fri, Jul 31, 2020 at 08:31:56AM +, matsumura@fujitsu.com wrote: > I found that "make installcheck" could not work in PGXS. Yeah, that's a known problem. One way to counter that is for example to grab the path of pg_regress from pg_config --libdir and set $ENV{PG_REGRESS} to it, but

[bugfix]"make installcheck" could not work in PGXS

2020-07-31 Thread matsumura....@fujitsu.com
Hello, I found that "make installcheck" could not work in PGXS. --[/src/foo_project/Makefile]-- SUBDIRS = foo TAP_TESTS = 1 PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) $(recurse) $(recurse_always) --[/src/foo_project/t/001_foo_test.pl] use strict; use