Skip to content

Commit

Permalink
Merge branch 'main' into python_send
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend authored Nov 1, 2024
2 parents 1fd87a9 + aed7388 commit 9848d6d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pgmq-extension/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
REGRESS_OPTS ?= --inputdir=test
EXTRA_CLEAN = $(EXTENSION)-$(EXTVERSION).zip sql/$(EXTENSION)--$(EXTVERSION).sql META.json Trunk.toml
PG_PARTMAN_VER = 5.1.0
PG_CONFIG ?= pg_config

# 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 }' | sed -E 's/[^0-9]//g') -ge 14; echo $$?),0)
ISOLATION = $(patsubst test/specs/%.spec,%,$(wildcard test/specs/*.spec))
ISOLATION_OPTS = $(REGRESS_OPTS)
endif

PG_CONFIG ?= pg_config

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

Expand Down

0 comments on commit 9848d6d

Please sign in to comment.