EXTENSION = pacs DATA = pacs--0.0.1.sql REGRESS = pacs MODULES = pacs TAP_TESTS = 1 PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) %.man.1: README.%.md pandoc -s $< -o $@ @echo man -l $@ pgbench: NPROCS=$(shell nproc) pgbench: NJOBS=$(shell nproc) pgbench: sql/pgbench.sql pgbench -f $< -T 10 --progress 1 --no-vacuum \ -c $$(( $(NPROCS) * 4 )) \ -j $$(( $(NJOBS) * 4 ))