Skip to content

Commit

Permalink
Makefile: use pg_config path from environment variable instead of har…
Browse files Browse the repository at this point in the history
…dcoded binary (#336)
  • Loading branch information
palash25 authored Oct 31, 2024
1 parent d2a0021 commit 1304a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgmq-extension/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ EXTRA_CLEAN = $(EXTENSION)-$(EXTVERSION).zip sql/$(EXTENSION)--$(EXTVERSION).s
PG_PARTMAN_VER = 5.1.0

# pg_isolation_regress available in v14 and higher.
ifeq ($(shell test $$(pg_config --version | awk '{print $$2}' | awk 'BEGIN { FS = "." }; { print $$1 }') -ge 14; echo $$?),0)
ifeq ($(shell test $$($(PG_CONFIG) --version | awk '{print $$2}' | awk 'BEGIN { FS = "." }; { print $$1 }') -ge 14; echo $$?),0)
ISOLATION = $(patsubst test/specs/%.spec,%,$(wildcard test/specs/*.spec))
ISOLATION_OPTS = $(REGRESS_OPTS)
endif
Expand Down

0 comments on commit 1304a15

Please sign in to comment.