> But ISTM that the remedy (breaking all past makefiles for all extensions) 
> is not worth the issue.
> A better documentation, and possibly following your suggestion with an 
> explicit PG_CONFIG in contrib makefiles, but without breaking existing 
> extensions seems quite enough. The error made by Eddie is legitimate, but
> it is also something rare, it did not come up in the last two years.

True.  OK, then let's add the ifndef to Makefile.global and change the
existing extension makefiles to

        PG_CONFIG := pg_config
        PGXS := $(shell $(PG_CONFIG) --pgxs)
        include $(PGXS)

Any objections?

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?


Reply via email to