From 061b1e30cb1f2d60df5a2beeed88e7555e5a8365 Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Wed, 5 Aug 2026 15:13:18 -0500 Subject: [PATCH 1/3] Bump minimum supported PostgreSQL to 12 Drops CI matrix legs and the declared floor for PG 9.3-11. Not an arbitrary cut: cat_tools already declares 12.0 as its own floor, and extension_drop depends on cat_tools, so those older versions were never really supported once on a cat_tools version new enough to provide the functions extension_drop actually calls. --- .github/workflows/ci.yml | 5 ++++- META.in.json | 4 ++-- META.json | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aad0d23..bb8eaa2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,10 @@ jobs: test: strategy: matrix: - pg: [17, 16, 15, 14, 13, 12, 11, 10, 9.6, 9.5, 9.4, 9.3] + # Floor matches cat_tools's own declared PostgreSQL requirement + # (12.0, see its META.in.json) -- extension_drop depends on + # cat_tools, so it was never really going to work below that either. + pg: [17, 16, 15, 14, 13, 12] name: 🐘 PostgreSQL ${{ matrix.pg }} runs-on: ubuntu-latest container: pgxn/pgxn-tools diff --git a/META.in.json b/META.in.json index 71aa541..fdd7504 100644 --- a/META.in.json +++ b/META.in.json @@ -72,13 +72,13 @@ "X_comment": "Optional. 'prereqs': Prerequisits for the distribution. http://pgxn.org/spec/#prereqs", "X_comment": "Valid keys for 'prereqs' are configure, build, runtime, or test.", "X_comment": "Valid keys for 'requires' are requires, recommends, suggests, or conflicts.", - "X_comment": "Requires event_triggers, introduced in 9.3", + "X_comment": "PostgreSQL floor matches cat_tools's own declared requirement", "X_comment": "cat_tools: requires extension support, added in 0.2.1", "prereqs": { "build": { "requires": { - "PostgreSQL": "9.3.0", + "PostgreSQL": "12.0", "cat_tools": "0.2.1" } }, diff --git a/META.json b/META.json index ba237c7..9ce2b17 100644 --- a/META.json +++ b/META.json @@ -72,13 +72,13 @@ "X_comment": "Optional. 'prereqs': Prerequisits for the distribution. http://pgxn.org/spec/#prereqs", "X_comment": "Valid keys for 'prereqs' are configure, build, runtime, or test.", "X_comment": "Valid keys for 'requires' are requires, recommends, suggests, or conflicts.", - "X_comment": "Requires event_triggers, introduced in 9.3", + "X_comment": "PostgreSQL floor matches cat_tools's own declared requirement", "X_comment": "cat_tools: requires extension support, added in 0.2.1", "prereqs": { "build": { "requires": { - "PostgreSQL": "9.3.0", + "PostgreSQL": "12.0", "cat_tools": "0.2.1" } }, From 1e42fa84f29bf03915eaac8538766cc7029b2995 Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Wed, 5 Aug 2026 15:15:56 -0500 Subject: [PATCH 2/3] HISTORY.asc: note dropped support for pre-PG12 --- HISTORY.asc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HISTORY.asc b/HISTORY.asc index f483708..c530312 100644 --- a/HISTORY.asc +++ b/HISTORY.asc @@ -1,5 +1,9 @@ 1.0.0 ----- +== Drop support for PostgreSQL versions before 12 +Matches cat_tools's own declared minimum, which extension_drop depends +on and was never really supported below anyway. + == Remove redundant client_min_messages handling from install script `CREATE EXTENSION` already raises `client_min_messages` to `WARNING` for the install script (only-raising, so a stricter caller is respected) and From b9a63148ec8aab19311dece45db12b2595a09c0d Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Wed, 5 Aug 2026 15:17:50 -0500 Subject: [PATCH 3/3] HISTORY.asc: reword the PG12 floor entry for clarity --- HISTORY.asc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY.asc b/HISTORY.asc index c530312..0cecdda 100644 --- a/HISTORY.asc +++ b/HISTORY.asc @@ -1,8 +1,10 @@ 1.0.0 ----- == Drop support for PostgreSQL versions before 12 -Matches cat_tools's own declared minimum, which extension_drop depends -on and was never really supported below anyway. +extension_drop depends on cat_tools, which already requires PostgreSQL +12+. A fresh install of extension_drop was already broken below that +too (a cat_tools function it calls needs PG11+ internally) -- this +just makes the declared floor honest. == Remove redundant client_min_messages handling from install script `CREATE EXTENSION` already raises `client_min_messages` to `WARNING` for