From abd637beaaa62ab1873a9be1eeee03c0f6101298 Mon Sep 17 00:00:00 2001 From: Sven Klemm Date: Thu, 12 Sep 2024 18:10:10 +0200 Subject: [PATCH] Don't require -DEXPERIMENTAL when building against PG17 --- .github/gh_matrix_builder.py | 1 - CMakeLists.txt | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/gh_matrix_builder.py b/.github/gh_matrix_builder.py index 185695c66..c459cc470 100755 --- a/.github/gh_matrix_builder.py +++ b/.github/gh_matrix_builder.py @@ -186,7 +186,6 @@ m["include"].append( { "pg": "17", "snapshot": "snapshot", - "tsdb_build_args": "-DEXPERIMENTAL=ON", } ) ) diff --git a/CMakeLists.txt b/CMakeLists.txt index d3b784477..7b05af36d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -350,9 +350,9 @@ message( # Ensure that PostgreSQL version is supported and consistent with src/compat.h # version check if((${PG_VERSION_MAJOR} LESS "14") - OR (${PG_VERSION_MAJOR} GREATER "16") + OR (${PG_VERSION_MAJOR} GREATER "17") AND NOT (${EXPERIMENTAL})) - message(FATAL_ERROR "TimescaleDB only supports PostgreSQL 14, 15 and 16") + message(FATAL_ERROR "TimescaleDB only supports PostgreSQL 14, 15, 16 and 17") endif() # Get PostgreSQL configuration from pg_config