Ah, I finally realize why Magnus wanted to add a --bindir option to
Tom Lane <tgl@sss.pgh.pa.us>
Ah, I finally realize why Magnus wanted to add a --bindir option to pg_regress: there's no other way to cope with testing a relocated installation. Seems better to call it --psqldir though, since the only thing we need to find in that case is psql. It'd be better if we could use find_other_exec, but that's not happening unless we are willing to install pg_regress alongside psql, which seems unlikely to happen.
Files
| Path | Change | +/− |
|---|---|---|
| src/makefiles/pgxs.mk | modified | +5 −2 |
| src/pl/plperl/GNUmakefile | modified | +4 −2 |
| src/pl/plpython/Makefile | modified | +4 −2 |
| src/pl/tcl/Makefile | modified | +4 −2 |
| src/test/regress/GNUmakefile | modified | +7 −4 |
| src/test/regress/pg_regress.c | modified | +31 −12 |