Postgres 16 support for PGSM

* PG16 requires changes around one of the hooks, ifdef added
* Meson build file added
This commit is contained in:
Zsolt Parragi
2023-08-17 17:59:55 +02:00
parent 726556dbaf
commit 38ee75cc60
3 changed files with 67 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ REGRESS = basic version guc pgsm_query_id functions counters relations database
PG_CONFIG ?= pg_config
ifdef USE_PGXS
MAJORVERSION := $(shell pg_config --version | awk {'print $$2'} | cut -f1 -d".")
MAJORVERSION := $(shell $(PG_CONFIG) --version | awk {'print $$2'} | cut -f1 -d".")
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else