From 9e19e5f2a3639c27b8134282c1c415f35826d5b8 Mon Sep 17 00:00:00 2001 From: 4mGLn Date: Mon, 14 Sep 2026 15:25:36 +0900 Subject: [PATCH] ci: skip credcheck on Windows --- README.md | 5 +++++ ci/postgresql-release-config.json | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 2b20f71..b1e865e 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,11 @@ Third-party extensions are built and released as separate overlay archives: Each overlay archive is intended to be extracted over the matching base package for the same PostgreSQL version and target. +`credcheck` is currently Linux-only. Version 5.0 calls the POSIX `strcasestr()` API, +which is unavailable in the MSYS2/MinGW Windows toolchain, so the release workflow +skips this overlay for `windows_x86_64` until an upstream Windows-compatible release +is available. + ## Linux Portability The Linux build uses the `manylinux2014` container (CentOS 7 base, glibc 2.17) to maximize compatibility across distributions. ELF binaries are patched with `patchelf` to use `$ORIGIN`-relative RPATHs, making the archive relocatable without system-wide library installation. diff --git a/ci/postgresql-release-config.json b/ci/postgresql-release-config.json index aec83d4..26ebbd1 100644 --- a/ci/postgresql-release-config.json +++ b/ci/postgresql-release-config.json @@ -67,8 +67,12 @@ "credcheck": { "repo": "https://github.com/HexaCluster/credcheck.git", "ref": "v5.0", + "skip_targets": [ + "windows_x86_64" + ], "notes": [ "Requires shared_preload_libraries = 'credcheck'.", + "Not built for Windows: credcheck v5.0 uses the POSIX strcasestr() API, which is unavailable in the MSYS2/MinGW Windows toolchain.", "Enable with CREATE EXTENSION credcheck;" ] },