Closed Green-Chan closed 4 months ago
Hi,
PG_CONFIG = pg_config
is overridable by make PG_CONFIG=/elsewhere
, but your suggestion is still an improvement since it makes the slightly different PG_CONFIG=/elsewhere make
also work, so I picked that commit.
The second change is unfortunately not good - Debian installs pg_filedump into /usr/bin since it's cross-version compatible. Looking for it in /usr/lib/postgresql/NN/bin will fail. I'll adjust the Makefile to set PATH instead.
Thanks!
I'll adjust the Makefile to set PATH instead.
Thank you! It works perfectly.
The following instruction in README makes no sense:
PG_CONFIG is always set to "pg_config" in Makefile, and the value "/path/to/postgresql/bin/pg_config" is ignored:
PG_CONFIG = pg_config
I suggest (the first commit) changing this line to:
PG_CONFIG ?= pg_config
This allows building and installing pg_filedump without postgres bin directory in PATH. But bin directory in PATH is still needed to run
make installcheck
. The second commit allows running tests without it: