Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Yes, that's pretty small-minded. It should be something like
> > PG_CONFIG = pg_config
> > bindir := $(shell $(PG_CONFIG) --bindir)
> > That way you can override it.
>
> No objection here, although I'm not entirely convinced why anyone
> would prefer doing that to setting their PATH. If the pg_config you
> want isn't (first in) your PATH, none of the other PG programs will
> be either, which seems like an awkward situation for getting any
> PG-related work done.
Well, with the above change, both camps would be happy.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/