From 6304c9236548e8813f1cd7cf2b1c27f9c78642e8 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Wed, 14 Oct 2026 18:32:36 +0500 Subject: [PATCH 01/23] build: add PostgreSQL 19 images for spock 5 --- CHANGELOG.md | 7 + packagelists/amd64/pg19-rc1-postgres.txt | 2 + .../amd64/pg19-rc1-spock5.0.13-minimal.txt | 3 + .../amd64/pg19-rc1-spock5.0.13-standard.txt | 13 + packagelists/arm64/pg19-rc1-postgres.txt | 2 + .../arm64/pg19-rc1-spock5.0.13-minimal.txt | 3 + .../arm64/pg19-rc1-spock5.0.13-standard.txt | 13 + scripts/build_pgedge_images.py | 18 +- tests/main.go | 245 ++++++++++++------ 9 files changed, 227 insertions(+), 79 deletions(-) create mode 100644 packagelists/amd64/pg19-rc1-postgres.txt create mode 100644 packagelists/amd64/pg19-rc1-spock5.0.13-minimal.txt create mode 100644 packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt create mode 100644 packagelists/arm64/pg19-rc1-postgres.txt create mode 100644 packagelists/arm64/pg19-rc1-spock5.0.13-minimal.txt create mode 100644 packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 861bc9b..b0cce40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # pgEdge Postgres Image Changelog +## Unreleased + +- Added PostgreSQL 19 (rc1) postgres, minimal and standard images for spock 5. + They omit pg_tokenizer and vchord_bm25, which have no PG 19 build yet; the + tests covering those extensions are skipped on PG 19 until they ship. No + coldfront or spock 6 images for PG 19 yet. + ## 2026-11-10 - Upgraded to PostgreSQL 16.16, 17.12, and 18.7 diff --git a/packagelists/amd64/pg19-rc1-postgres.txt b/packagelists/amd64/pg19-rc1-postgres.txt new file mode 100644 index 0000000..51b06af --- /dev/null +++ b/packagelists/amd64/pg19-rc1-postgres.txt @@ -0,0 +1,2 @@ +pgedge-postgresql19-19-rc1_1.el9 +pgedge-postgresql19-server-19-rc1_1.el9 diff --git a/packagelists/amd64/pg19-rc1-spock5.0.13-minimal.txt b/packagelists/amd64/pg19-rc1-spock5.0.13-minimal.txt new file mode 100644 index 0000000..cab8190 --- /dev/null +++ b/packagelists/amd64/pg19-rc1-spock5.0.13-minimal.txt @@ -0,0 +1,3 @@ +pgedge-spock50_19-5.0.13-1.el9 +pgedge-snowflake_19-2.6.0-1.el9 +pgedge-lolor_19-1.2.3-1.el9 diff --git a/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt new file mode 100644 index 0000000..eb82800 --- /dev/null +++ b/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt @@ -0,0 +1,13 @@ +pgedge-pgaudit_19-19-beta3_1.el9 +pgedge-postgis36_19-3.6.4-1.el9 +pgedge-pgvector_19-0.8.7-1.el9 +pgedge-pgbackrest-2.59.3-1.el9 +pgedge-python3-psycopg2-2.9.12-1.el9 +pgedge-pgmq_19-1.13.0-1.el9 +pgedge-pg_cron_19-1.6.8-1.el9 +pgedge-pg-vectorize_19-0.27.1-1.el9 +pgedge-pg-stat-monitor_19-2.4.0-1.el9 +pgedge-vectorizer_19-1.1-1.el9 +pgedge-system_stats_19-4.1-1.el9 +pgedge-supautils_19-3.2.2-1.el9 +pgedge-safesession_19-1.0-1.el9 diff --git a/packagelists/arm64/pg19-rc1-postgres.txt b/packagelists/arm64/pg19-rc1-postgres.txt new file mode 100644 index 0000000..51b06af --- /dev/null +++ b/packagelists/arm64/pg19-rc1-postgres.txt @@ -0,0 +1,2 @@ +pgedge-postgresql19-19-rc1_1.el9 +pgedge-postgresql19-server-19-rc1_1.el9 diff --git a/packagelists/arm64/pg19-rc1-spock5.0.13-minimal.txt b/packagelists/arm64/pg19-rc1-spock5.0.13-minimal.txt new file mode 100644 index 0000000..cab8190 --- /dev/null +++ b/packagelists/arm64/pg19-rc1-spock5.0.13-minimal.txt @@ -0,0 +1,3 @@ +pgedge-spock50_19-5.0.13-1.el9 +pgedge-snowflake_19-2.6.0-1.el9 +pgedge-lolor_19-1.2.3-1.el9 diff --git a/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt new file mode 100644 index 0000000..eb82800 --- /dev/null +++ b/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt @@ -0,0 +1,13 @@ +pgedge-pgaudit_19-19-beta3_1.el9 +pgedge-postgis36_19-3.6.4-1.el9 +pgedge-pgvector_19-0.8.7-1.el9 +pgedge-pgbackrest-2.59.3-1.el9 +pgedge-python3-psycopg2-2.9.12-1.el9 +pgedge-pgmq_19-1.13.0-1.el9 +pgedge-pg_cron_19-1.6.8-1.el9 +pgedge-pg-vectorize_19-0.27.1-1.el9 +pgedge-pg-stat-monitor_19-2.4.0-1.el9 +pgedge-vectorizer_19-1.1-1.el9 +pgedge-system_stats_19-4.1-1.el9 +pgedge-supautils_19-3.2.2-1.el9 +pgedge-safesession_19-1.0-1.el9 diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index 579fc94..a819866 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -3,6 +3,7 @@ import json import logging import os +import re import subprocess from dataclasses import dataclass @@ -94,7 +95,9 @@ class PgEdgeImage: @property def postgres_major(self) -> str: - return self.postgres_version.split(".")[0] + # Leading digits, so a pre-release version like "19-rc1" still yields + # the major the packages and paths use. + return re.match(r"\d+", self.postgres_version).group() @property def spock_major(self) -> str: @@ -272,6 +275,10 @@ def make_flavor_images( postgres_version="18.7", spock_version="", epoch=1, flavor="postgres", is_latest_for_pg_major=True, ), + PgEdgeImage( + postgres_version="19-rc1", spock_version="", epoch=1, flavor="postgres", + is_latest_for_pg_major=True, package_release_channel="staging", + ), # pg16 images *make_flavor_images( postgres_version="16.16", @@ -296,6 +303,15 @@ def make_flavor_images( is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), + # pg19 images. No coldfront or spock 6 line yet: neither has a PG 19 build. + *make_flavor_images( + postgres_version="19-rc1", + spock_version="5.0.13", + epochs={"minimal": 1, "standard": 1}, + channels={"minimal": "staging", "standard": "staging"}, + is_latest_for_pg_major=True, + is_latest_for_spock_major=True, + ), # pg16 spock60 images *make_flavor_images( postgres_version="16.16", diff --git a/tests/main.go b/tests/main.go index 3182c5b..ff3a07b 100644 --- a/tests/main.go +++ b/tests/main.go @@ -7,6 +7,8 @@ import ( "fmt" "log" "os" + "sort" + "strconv" "strings" "time" @@ -30,6 +32,10 @@ type Test struct { MinimalOnly bool // Only run on minimal-or-later (needs the pgEdge extensions) StandardOnly bool // Only run on standard-or-later flavors (standard, coldfront) ColdfrontOnly bool // Only run on the coldfront flavor + + // TEMPORARY: see hasTokenizerBM25. Remove this field, every use of it, and + // the tests it guards once PG 19 has pg_tokenizer and vchord_bm25 builds. + TokenizerBM25Only bool } // includesMinimal reports whether a flavor ships the pgEdge extensions minimal @@ -63,6 +69,11 @@ type DefaultEntrypointRunner struct { func main() { image, flavor := parseFlags() + // TEMPORARY: see hasTokenizerBM25. + if major := pgMajorFromImage(image); major >= 19 { + hasTokenizerBM25 = false + } + // Derive the expected spock major version from the image tag (e.g. // "...-spock6.0.0-beta1-standard" -> "6"). Used to assert that the image // actually ships the spock version its tag advertises. @@ -113,6 +124,38 @@ func spockMajorFromImage(image string) string { return major.String() } +// TEMPORARY: pg_tokenizer and vchord_bm25 have no PG 19 build, so the PG 19 +// packagelists omit them. Tests that need either are skipped there, and +// pg_tokenizer is left out of shared_preload_libraries. Delete this, the +// Test.TokenizerBM25Only field and the tests it guards once both ship for +// PG 19; the suite is then the same on every major again. +var hasTokenizerBM25 = true + +// pgMajorFromImage extracts the PostgreSQL major from an image reference's tag, +// e.g. "...:18.6-spock5.0.13-standard-1" yields 18 and "...:19-spock5-minimal" +// yields 19. It returns 0 when the tag does not start with a number, in which +// case the caller keeps the default and skips nothing. +func pgMajorFromImage(image string) int { + tag := image + if idx := strings.LastIndex(image, ":"); idx != -1 { + tag = image[idx+1:] + } + + var digits strings.Builder + for _, c := range tag { + if c < '0' || c > '9' { + break + } + digits.WriteRune(c) + } + + major, err := strconv.Atoi(digits.String()) + if err != nil { + return 0 + } + return major +} + func parseFlags() (string, string) { image := flag.String("image", "", "Docker image to test (required)") flavor := flag.String("flavor", "", "Image flavor: postgres, minimal, standard or coldfront (required)") @@ -235,6 +278,9 @@ func printSummary(errorCount int, flavor, spockMajor string) { if t.ColdfrontOnly && flavor != "coldfront" { continue } + if t.TokenizerBM25Only && !hasTokenizerBM25 { + continue + } extensionTests++ } @@ -535,7 +581,12 @@ func (r *TestRunner) Start() error { sharedLibs = "spock,snowflake" } if includesStandard(r.flavor) { - sharedLibs = "spock,snowflake,pgaudit,supautils,pg_cron,pg_tokenizer" + sharedLibs = "spock,snowflake,pgaudit,supautils,pg_cron" + // TEMPORARY: see hasTokenizerBM25. Preloading an extension the image + // does not ship stops the postmaster from starting at all. + if hasTokenizerBM25 { + sharedLibs += ",pg_tokenizer" + } } // pg_duckdb and coldfront install hooks at postmaster start. The image's own // entrypoint already passes them, but the -c built below is appended after it @@ -784,6 +835,9 @@ func (r *TestRunner) RunTests(tests []Test) int { if test.ColdfrontOnly && r.flavor != "coldfront" { continue } + if test.TokenizerBM25Only && !hasTokenizerBM25 { + continue + } fmt.Printf(" %-55s ", test.Name) @@ -1183,6 +1237,22 @@ func expectFailureContaining(want string) func(exitCode int, output string) erro // extension's after-create.sql granting the database's own owner exactly // the access it documents, in whichever schema the extension actually // landed in, not a hardcoded one. +// privilegedExtensions is the supautils.privileged_extensions list the gate +// tests set. TEMPORARY: see hasTokenizerBM25 -- the two entries are dropped on +// a major that has no build for them, so supautils does not gate an extension +// that cannot be installed. +func privilegedExtensions() string { + extensions := []string{ + "address_standardizer", "address_standardizer_data_us", "pg_cron", + "postgis", "postgis_tiger_geocoder", "postgis_topology", + } + if hasTokenizerBM25 { + extensions = append(extensions, "pg_tokenizer", "vchord_bm25") + } + sort.Strings(extensions) + return strings.Join(extensions, ", ") +} + func getExtensionCustomScriptsTests() []Test { return []Test{ { @@ -1214,7 +1284,7 @@ func getExtensionCustomScriptsTests() []Test { { Name: "configure supautils.privileged_extensions", StandardOnly: true, - Cmd: "psql -U postgres -d testdb -t -A -c \"ALTER SYSTEM SET supautils.privileged_extensions = 'address_standardizer, address_standardizer_data_us, pg_cron, pg_tokenizer, vchord_bm25, postgis, postgis_tiger_geocoder, postgis_topology';\"", + Cmd: "psql -U postgres -d testdb -t -A -c \"ALTER SYSTEM SET supautils.privileged_extensions = '" + privilegedExtensions() + "';\"", ExpectedOutput: expectSuccess, }, { @@ -1380,20 +1450,22 @@ func getExtensionCustomScriptsTests() []Test { ExpectedOutput: expectFailureContaining("permission denied for table job"), }, { - Name: "gate installs pg_tokenizer", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"CREATE EXTENSION pg_tokenizer;\"", - ExpectedOutput: expectSuccess, + Name: "gate installs pg_tokenizer", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"CREATE EXTENSION pg_tokenizer;\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { // Real query against a real table in tokenizer_catalog, the // same reasoning as address_standardizer_data_us above: a // table grant with no matching schema USAGE fails here even // though has_table_privilege would report true. - Name: "pg_tokenizer after-create.sql granted access to tokenizer_catalog", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT count(*) FROM tokenizer_catalog.tokenizer;\"", - ExpectedOutput: expectSuccess, + Name: "pg_tokenizer after-create.sql granted access to tokenizer_catalog", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT count(*) FROM tokenizer_catalog.tokenizer;\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { // The configuration functions run as the caller and write the @@ -1403,60 +1475,68 @@ func getExtensionCustomScriptsTests() []Test { // the owner INSERT, UPDATE, and DELETE on those tables. The // tokenizer is left in place for the third-party role's // tokenize() case below, and dropped after it. - Name: "pg_tokenizer after-create.sql lets the owner create a text analyzer", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_text_analyzer('probe_analyzer', $$ pre_tokenizer = 'unicode_segmentation' $$);\"", - ExpectedOutput: expectSuccess, + Name: "pg_tokenizer after-create.sql lets the owner create a text analyzer", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_text_analyzer('probe_analyzer', $$ pre_tokenizer = 'unicode_segmentation' $$);\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { - Name: "pg_tokenizer after-create.sql lets the owner create a tokenizer", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_tokenizer('probe_tokenizer', $$ model = 'bert_base_uncased' $$);\"", - ExpectedOutput: expectSuccess, + Name: "pg_tokenizer after-create.sql lets the owner create a tokenizer", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_tokenizer('probe_tokenizer', $$ model = 'bert_base_uncased' $$);\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { - Name: "pg_tokenizer after-create.sql lets the owner create a stopword list", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_stopwords('probe_stopwords', E'it\\nis\\na');\"", - ExpectedOutput: expectSuccess, + Name: "pg_tokenizer after-create.sql lets the owner create a stopword list", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_stopwords('probe_stopwords', E'it\\nis\\na');\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { - Name: "pg_tokenizer after-create.sql lets the owner create a synonym list", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_synonym('probe_synonyms', 'pgsql postgres postgresql');\"", - ExpectedOutput: expectSuccess, + Name: "pg_tokenizer after-create.sql lets the owner create a synonym list", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_synonym('probe_synonyms', 'pgsql postgres postgresql');\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { // A superuser adding a table to tokenizer_catalog after // install, as an extension upgrade would: the default // privileges after-create.sql sets give the owner write // access to it without the script being run again. - Name: "pg_tokenizer after-create.sql default privileges cover a table added later", - StandardOnly: true, - Cmd: "psql -U postgres -d testdb -t -A -c \"CREATE TABLE tokenizer_catalog.probe_added_later(id int);\"", - ExpectedOutput: expectSuccess, + Name: "pg_tokenizer after-create.sql default privileges cover a table added later", + StandardOnly: true, + Cmd: "psql -U postgres -d testdb -t -A -c \"CREATE TABLE tokenizer_catalog.probe_added_later(id int);\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { - Name: "pg_tokenizer after-create.sql lets the owner write a table added later", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"INSERT INTO tokenizer_catalog.probe_added_later VALUES (1); UPDATE tokenizer_catalog.probe_added_later SET id = 2; DELETE FROM tokenizer_catalog.probe_added_later;\"", - ExpectedOutput: expectSuccess, + Name: "pg_tokenizer after-create.sql lets the owner write a table added later", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"INSERT INTO tokenizer_catalog.probe_added_later VALUES (1); UPDATE tokenizer_catalog.probe_added_later SET id = 2; DELETE FROM tokenizer_catalog.probe_added_later;\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { - Name: "gate installs vchord_bm25", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"CREATE EXTENSION vchord_bm25;\"", - ExpectedOutput: expectSuccess, + Name: "gate installs vchord_bm25", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"CREATE EXTENSION vchord_bm25;\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { // bm25_catalog holds only the bm25vector type and its support // functions, no tables: declaring a column of that type is // the real thing the database's owner needs USAGE on the // schema for. - Name: "vchord_bm25 after-create.sql granted access to bm25_catalog", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"CREATE TABLE bm25_probe(id int, v bm25_catalog.bm25vector);\"", - ExpectedOutput: expectSuccess, + Name: "vchord_bm25 after-create.sql granted access to bm25_catalog", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"CREATE TABLE bm25_probe(id int, v bm25_catalog.bm25vector);\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { // The earlier, unrelated common extension test already @@ -1616,18 +1696,20 @@ func getExtensionCustomScriptsTests() []Test { ExpectedOutput: expectSuccess, }, { - Name: "third-party role reaches vchord_bm25/pg_tokenizer via PUBLIC", - StandardOnly: true, - Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT pg_typeof('{1:1}'::bm25_catalog.bm25vector); SELECT count(*) FROM tokenizer_catalog.tokenizer;\"", - ExpectedOutput: expectSuccess, + Name: "third-party role reaches vchord_bm25/pg_tokenizer via PUBLIC", + StandardOnly: true, + Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT pg_typeof('{1:1}'::bm25_catalog.bm25vector); SELECT count(*) FROM tokenizer_catalog.tokenizer;\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { // The write side stays pg_database_owner-only regardless // of the PUBLIC read grant above. - Name: "third-party role still refused a tokenizer_catalog write", - StandardOnly: true, - Cmd: "psql -U reporting_role -d testdb -t -A -c \"INSERT INTO tokenizer_catalog.tokenizer(name) VALUES ('probe');\"", - ExpectedOutput: expectFailureContaining("permission denied for table tokenizer"), + Name: "third-party role still refused a tokenizer_catalog write", + StandardOnly: true, + Cmd: "psql -U reporting_role -d testdb -t -A -c \"INSERT INTO tokenizer_catalog.tokenizer(name) VALUES ('probe');\"", + ExpectedOutput: expectFailureContaining("permission denied for table tokenizer"), + TokenizerBM25Only: true, }, { // Schema USAGE makes every function in tokenizer_catalog @@ -1638,19 +1720,21 @@ func getExtensionCustomScriptsTests() []Test { // them SECURITY DEFINER, but still real work running before // any table-ACL check fires. Confirmed cleanly refused at // the function call itself now, not at some later step. - Name: "third-party role refused the tokenizer_catalog config-management functions", - StandardOnly: true, - Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_tokenizer('probe', 'x');\"", - ExpectedOutput: expectFailureContaining("permission denied for function create_tokenizer"), + Name: "third-party role refused the tokenizer_catalog config-management functions", + StandardOnly: true, + Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_tokenizer('probe', 'x');\"", + ExpectedOutput: expectFailureContaining("permission denied for function create_tokenizer"), + TokenizerBM25Only: true, }, { // A model function parses its configuration and loads a model // before it writes anything, so refusing it at EXECUTE, not at // the table write, is what keeps that work from running. - Name: "third-party role refused the tokenizer_catalog model functions", - StandardOnly: true, - Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_huggingface_model('probe', 'x');\"", - ExpectedOutput: expectFailureContaining("permission denied for function create_huggingface_model"), + Name: "third-party role refused the tokenizer_catalog model functions", + StandardOnly: true, + Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_huggingface_model('probe', 'x');\"", + ExpectedOutput: expectFailureContaining("permission denied for function create_huggingface_model"), + TokenizerBM25Only: true, }, { // The three functions the read-only use case actually @@ -1658,19 +1742,21 @@ func getExtensionCustomScriptsTests() []Test { // apply_text_analyzer() to process text against an // existing configuration, list_preload_models() to see // what's available. - Name: "third-party role keeps the read-only tokenizer_catalog functions", - StandardOnly: true, - Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT tokenizer_catalog.list_preload_models();\"", - ExpectedOutput: expectSuccess, + Name: "third-party role keeps the read-only tokenizer_catalog functions", + StandardOnly: true, + Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT tokenizer_catalog.list_preload_models();\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { // Against the tokenizer and text analyzer the owner created // above: the configuration the owner manages is usable by // every role, not only readable. - Name: "third-party role uses the owner's tokenizer and text analyzer", - StandardOnly: true, - Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT tokenizer_catalog.tokenize('PostgreSQL is great', 'probe_tokenizer'); SELECT tokenizer_catalog.apply_text_analyzer('PostgreSQL is great', 'probe_analyzer');\"", - ExpectedOutput: expectSuccess, + Name: "third-party role uses the owner's tokenizer and text analyzer", + StandardOnly: true, + Cmd: "psql -U reporting_role -d testdb -t -A -c \"SELECT tokenizer_catalog.tokenize('PostgreSQL is great', 'probe_tokenizer'); SELECT tokenizer_catalog.apply_text_analyzer('PostgreSQL is great', 'probe_analyzer');\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { // pg_cron is deliberately not part of this fix: cron.job is @@ -1685,10 +1771,11 @@ func getExtensionCustomScriptsTests() []Test { { // Dropped only now, after the third-party role's tokenize() // case above has used them. - Name: "pg_tokenizer after-create.sql lets the owner drop what it created", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.drop_synonym('probe_synonyms'); SELECT tokenizer_catalog.drop_stopwords('probe_stopwords'); SELECT tokenizer_catalog.drop_tokenizer('probe_tokenizer'); SELECT tokenizer_catalog.drop_text_analyzer('probe_analyzer');\"", - ExpectedOutput: expectSuccess, + Name: "pg_tokenizer after-create.sql lets the owner drop what it created", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.drop_synonym('probe_synonyms'); SELECT tokenizer_catalog.drop_stopwords('probe_stopwords'); SELECT tokenizer_catalog.drop_tokenizer('probe_tokenizer'); SELECT tokenizer_catalog.drop_text_analyzer('probe_analyzer');\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { // The reason every script grants to pg_database_owner rather @@ -1702,16 +1789,18 @@ func getExtensionCustomScriptsTests() []Test { ExpectedOutput: expectSuccess, }, { - Name: "new owner inherits the grants after-create.sql gave pg_database_owner", - StandardOnly: true, - Cmd: "psql -U new_owner_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_tokenizer('probe_reassigned', $$ model = 'bert_base_uncased' $$); SELECT tokenizer_catalog.drop_tokenizer('probe_reassigned');\"", - ExpectedOutput: expectSuccess, + Name: "new owner inherits the grants after-create.sql gave pg_database_owner", + StandardOnly: true, + Cmd: "psql -U new_owner_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_tokenizer('probe_reassigned', $$ model = 'bert_base_uncased' $$); SELECT tokenizer_catalog.drop_tokenizer('probe_reassigned');\"", + ExpectedOutput: expectSuccess, + TokenizerBM25Only: true, }, { - Name: "former owner loses the grants after-create.sql gave pg_database_owner", - StandardOnly: true, - Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_tokenizer('probe_reassigned', $$ model = 'bert_base_uncased' $$);\"", - ExpectedOutput: expectFailureContaining("permission denied for function create_tokenizer"), + Name: "former owner loses the grants after-create.sql gave pg_database_owner", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"SELECT tokenizer_catalog.create_tokenizer('probe_reassigned', $$ model = 'bert_base_uncased' $$);\"", + ExpectedOutput: expectFailureContaining("permission denied for function create_tokenizer"), + TokenizerBM25Only: true, }, } } From 4cc7611aad4fa61466b66d18973641c511d8364a Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Thu, 15 Oct 2026 17:22:19 +0500 Subject: [PATCH 02/23] build: drop supautils from PG 19 and skip its tests there --- .../amd64/pg19-rc1-spock5.0.13-standard.txt | 1 - .../arm64/pg19-rc1-spock5.0.13-standard.txt | 1 - tests/main.go | 63 +++++++++++++++++++ 3 files changed, 63 insertions(+), 2 deletions(-) diff --git a/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt index eb82800..aa51da2 100644 --- a/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt +++ b/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt @@ -9,5 +9,4 @@ pgedge-pg-vectorize_19-0.27.1-1.el9 pgedge-pg-stat-monitor_19-2.4.0-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 -pgedge-supautils_19-3.2.2-1.el9 pgedge-safesession_19-1.0-1.el9 diff --git a/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt index eb82800..aa51da2 100644 --- a/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt +++ b/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt @@ -9,5 +9,4 @@ pgedge-pg-vectorize_19-0.27.1-1.el9 pgedge-pg-stat-monitor_19-2.4.0-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 -pgedge-supautils_19-3.2.2-1.el9 pgedge-safesession_19-1.0-1.el9 diff --git a/tests/main.go b/tests/main.go index ff3a07b..7017fef 100644 --- a/tests/main.go +++ b/tests/main.go @@ -72,6 +72,7 @@ func main() { // TEMPORARY: see hasTokenizerBM25. if major := pgMajorFromImage(image); major >= 19 { hasTokenizerBM25 = false + hasSupautils = false } // Derive the expected spock major version from the image tag (e.g. @@ -131,6 +132,14 @@ func spockMajorFromImage(image string) string { // PG 19; the suite is then the same on every major again. var hasTokenizerBM25 = true +// TEMPORARY: supautils 3.2.2 is the only PG 19 build and it aborts the +// postmaster there -- it registers supautils.privileged_extensions_superuser +// with a NULL boot_val, tripping the check_GUC_init assertion PG 19 added. The +// PG 19 standard packagelist therefore omits supautils, so it is left out of +// shared_preload_libraries and its tests are skipped. Delete this once a PG 19 +// build of supautils >= 3.4.4 ships. +var hasSupautils = true + // pgMajorFromImage extracts the PostgreSQL major from an image reference's tag, // e.g. "...:18.6-spock5.0.13-standard-1" yields 18 and "...:19-spock5-minimal" // yields 19. It returns 0 when the tag does not start with a number, in which @@ -174,6 +183,21 @@ func parseFlags() (string, string) { log.Fatalf("Invalid flavor '%s'. Must be 'postgres', 'minimal', 'standard' or 'coldfront'", *flavor) } + // The PostgreSQL major decides which extensions the image is expected to + // ship, and that in turn decides shared_preload_libraries. Getting it wrong + // does not merely skip an assertion: preloading a module the image does not + // have stops the postmaster, so a reference we cannot read a major from is + // refused here rather than misconfiguring the container. A digest-only + // reference is the common case -- "@sha256:..." puts hex where the tag + // belongs. CI retags by digest before calling this, so it passes a tag. + if strings.Contains(*image, "@") { + log.Fatalf("Image %q is a digest reference; pass a tagged one, e.g. %s:19-rc1-spock5.0.13-standard-1", + *image, strings.SplitN(*image, "@", 2)[0]) + } + if pgMajorFromImage(*image) == 0 { + log.Fatalf("Cannot read a PostgreSQL major from image %q. The tag has to start with it, e.g. 18.6-... or 19-rc1-...", *image) + } + return *image, *flavor } @@ -265,6 +289,32 @@ func printPhaseHeader(title string) { fmt.Println() } +// skippedSuites describes the tests withheld on this image and why. A gate that +// silently skips is a gate nobody notices has outlived its cause, so the counts +// are printed on every run. +func skippedSuites(flavor string) []string { + if !includesStandard(flavor) { + return nil + } + + var out []string + if !hasSupautils { + // The whole gate suite goes with it: those tests run through supautils' + // extension gate, so they cannot run without it. + n := len(getSupautilsTests()) + len(getExtensionCustomScriptsTests()) + out = append(out, fmt.Sprintf("%d skipped: image ships no supautils (see hasSupautils)", n)) + } else if !hasTokenizerBM25 { + n := 0 + for _, t := range getExtensionCustomScriptsTests() { + if t.TokenizerBM25Only { + n++ + } + } + out = append(out, fmt.Sprintf("%d skipped: image ships no pg_tokenizer/vchord_bm25 (see hasTokenizerBM25)", n)) + } + return out +} + func printSummary(errorCount int, flavor, spockMajor string) { tests := buildTestSuite(spockMajor) extensionTests := 0 @@ -295,6 +345,9 @@ func printSummary(errorCount int, flavor, spockMajor string) { fmt.Println() fmt.Println("Test Summary") fmt.Printf(" Tests Executed: %d\n", testsRun) + for _, line := range skippedSuites(flavor) { + fmt.Printf(" %s\n", line) + } fmt.Printf(" Errors: %d\n", errorCount) if errorCount == 0 { fmt.Printf(" Status: ✅ ALL TESTS PASSED\n") @@ -582,6 +635,11 @@ func (r *TestRunner) Start() error { } if includesStandard(r.flavor) { sharedLibs = "spock,snowflake,pgaudit,supautils,pg_cron" + // TEMPORARY: see hasSupautils. Preloading a module the image does not + // ship stops the postmaster from starting at all. + if !hasSupautils { + sharedLibs = "spock,snowflake,pgaudit,pg_cron" + } // TEMPORARY: see hasTokenizerBM25. Preloading an extension the image // does not ship stops the postmaster from starting at all. if hasTokenizerBM25 { @@ -1078,6 +1136,11 @@ func getColdfrontTests() []Test { func getStandardOnlyTests() []Test { tests := append(getSystemStatsAndVectorTests(), getPostGISAuditBackrestTests()...) + // TEMPORARY: see hasSupautils. Both suites need supautils loaded -- the + // custom-scripts ones run entirely through its extension gate. + if !hasSupautils { + return tests + } tests = append(tests, getSupautilsTests()...) return append(tests, getExtensionCustomScriptsTests()...) } From a9dccb61def6336e3dd7a44821110d6a8bb7db09 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Wed, 4 Nov 2026 15:57:54 +0500 Subject: [PATCH 03/23] build: upgrade pgBackRest to 2.60.0 --- packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt | 2 +- packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt index aa51da2..0898ce4 100644 --- a/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt +++ b/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt @@ -1,7 +1,7 @@ pgedge-pgaudit_19-19-beta3_1.el9 pgedge-postgis36_19-3.6.4-1.el9 pgedge-pgvector_19-0.8.7-1.el9 -pgedge-pgbackrest-2.59.3-1.el9 +pgedge-pgbackrest-2.60.0-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.0-1.el9 pgedge-pg_cron_19-1.6.8-1.el9 diff --git a/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt index aa51da2..0898ce4 100644 --- a/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt +++ b/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt @@ -1,7 +1,7 @@ pgedge-pgaudit_19-19-beta3_1.el9 pgedge-postgis36_19-3.6.4-1.el9 pgedge-pgvector_19-0.8.7-1.el9 -pgedge-pgbackrest-2.59.3-1.el9 +pgedge-pgbackrest-2.60.0-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.0-1.el9 pgedge-pg_cron_19-1.6.8-1.el9 From 5ba82b2a79fe62f226fb2f26d3b989829f9290a2 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Mon, 9 Nov 2026 15:56:35 +0500 Subject: [PATCH 04/23] build: move the PostgreSQL 19 images to rc2 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 +- packagelists/amd64/pg19-rc1-postgres.txt | 2 -- packagelists/amd64/pg19-rc2-postgres.txt | 2 ++ ...ock5.0.13-minimal.txt => pg19-rc2-spock5.0.13-minimal.txt} | 0 ...k5.0.13-standard.txt => pg19-rc2-spock5.0.13-standard.txt} | 0 packagelists/arm64/pg19-rc1-postgres.txt | 2 -- packagelists/arm64/pg19-rc2-postgres.txt | 2 ++ ...ock5.0.13-minimal.txt => pg19-rc2-spock5.0.13-minimal.txt} | 0 ...k5.0.13-standard.txt => pg19-rc2-spock5.0.13-standard.txt} | 0 scripts/build_pgedge_images.py | 4 ++-- tests/main.go | 4 ++-- 11 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 packagelists/amd64/pg19-rc1-postgres.txt create mode 100644 packagelists/amd64/pg19-rc2-postgres.txt rename packagelists/amd64/{pg19-rc1-spock5.0.13-minimal.txt => pg19-rc2-spock5.0.13-minimal.txt} (100%) rename packagelists/amd64/{pg19-rc1-spock5.0.13-standard.txt => pg19-rc2-spock5.0.13-standard.txt} (100%) delete mode 100644 packagelists/arm64/pg19-rc1-postgres.txt create mode 100644 packagelists/arm64/pg19-rc2-postgres.txt rename packagelists/arm64/{pg19-rc1-spock5.0.13-minimal.txt => pg19-rc2-spock5.0.13-minimal.txt} (100%) rename packagelists/arm64/{pg19-rc1-spock5.0.13-standard.txt => pg19-rc2-spock5.0.13-standard.txt} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0cce40..79bb04a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- Added PostgreSQL 19 (rc1) postgres, minimal and standard images for spock 5. +- Added PostgreSQL 19 (rc2) postgres, minimal and standard images for spock 5. They omit pg_tokenizer and vchord_bm25, which have no PG 19 build yet; the tests covering those extensions are skipped on PG 19 until they ship. No coldfront or spock 6 images for PG 19 yet. diff --git a/packagelists/amd64/pg19-rc1-postgres.txt b/packagelists/amd64/pg19-rc1-postgres.txt deleted file mode 100644 index 51b06af..0000000 --- a/packagelists/amd64/pg19-rc1-postgres.txt +++ /dev/null @@ -1,2 +0,0 @@ -pgedge-postgresql19-19-rc1_1.el9 -pgedge-postgresql19-server-19-rc1_1.el9 diff --git a/packagelists/amd64/pg19-rc2-postgres.txt b/packagelists/amd64/pg19-rc2-postgres.txt new file mode 100644 index 0000000..c9176bf --- /dev/null +++ b/packagelists/amd64/pg19-rc2-postgres.txt @@ -0,0 +1,2 @@ +pgedge-postgresql19-19-rc2_1.el9 +pgedge-postgresql19-server-19-rc2_1.el9 diff --git a/packagelists/amd64/pg19-rc1-spock5.0.13-minimal.txt b/packagelists/amd64/pg19-rc2-spock5.0.13-minimal.txt similarity index 100% rename from packagelists/amd64/pg19-rc1-spock5.0.13-minimal.txt rename to packagelists/amd64/pg19-rc2-spock5.0.13-minimal.txt diff --git a/packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt similarity index 100% rename from packagelists/amd64/pg19-rc1-spock5.0.13-standard.txt rename to packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt diff --git a/packagelists/arm64/pg19-rc1-postgres.txt b/packagelists/arm64/pg19-rc1-postgres.txt deleted file mode 100644 index 51b06af..0000000 --- a/packagelists/arm64/pg19-rc1-postgres.txt +++ /dev/null @@ -1,2 +0,0 @@ -pgedge-postgresql19-19-rc1_1.el9 -pgedge-postgresql19-server-19-rc1_1.el9 diff --git a/packagelists/arm64/pg19-rc2-postgres.txt b/packagelists/arm64/pg19-rc2-postgres.txt new file mode 100644 index 0000000..c9176bf --- /dev/null +++ b/packagelists/arm64/pg19-rc2-postgres.txt @@ -0,0 +1,2 @@ +pgedge-postgresql19-19-rc2_1.el9 +pgedge-postgresql19-server-19-rc2_1.el9 diff --git a/packagelists/arm64/pg19-rc1-spock5.0.13-minimal.txt b/packagelists/arm64/pg19-rc2-spock5.0.13-minimal.txt similarity index 100% rename from packagelists/arm64/pg19-rc1-spock5.0.13-minimal.txt rename to packagelists/arm64/pg19-rc2-spock5.0.13-minimal.txt diff --git a/packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt similarity index 100% rename from packagelists/arm64/pg19-rc1-spock5.0.13-standard.txt rename to packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index a819866..741f727 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -276,7 +276,7 @@ def make_flavor_images( is_latest_for_pg_major=True, ), PgEdgeImage( - postgres_version="19-rc1", spock_version="", epoch=1, flavor="postgres", + postgres_version="19-rc2", spock_version="", epoch=1, flavor="postgres", is_latest_for_pg_major=True, package_release_channel="staging", ), # pg16 images @@ -305,7 +305,7 @@ def make_flavor_images( ), # pg19 images. No coldfront or spock 6 line yet: neither has a PG 19 build. *make_flavor_images( - postgres_version="19-rc1", + postgres_version="19-rc2", spock_version="5.0.13", epochs={"minimal": 1, "standard": 1}, channels={"minimal": "staging", "standard": "staging"}, diff --git a/tests/main.go b/tests/main.go index 7017fef..346deba 100644 --- a/tests/main.go +++ b/tests/main.go @@ -191,11 +191,11 @@ func parseFlags() (string, string) { // reference is the common case -- "@sha256:..." puts hex where the tag // belongs. CI retags by digest before calling this, so it passes a tag. if strings.Contains(*image, "@") { - log.Fatalf("Image %q is a digest reference; pass a tagged one, e.g. %s:19-rc1-spock5.0.13-standard-1", + log.Fatalf("Image %q is a digest reference; pass a tagged one, e.g. %s:19-rc2-spock5.0.13-standard-1", *image, strings.SplitN(*image, "@", 2)[0]) } if pgMajorFromImage(*image) == 0 { - log.Fatalf("Cannot read a PostgreSQL major from image %q. The tag has to start with it, e.g. 18.6-... or 19-rc1-...", *image) + log.Fatalf("Cannot read a PostgreSQL major from image %q. The tag has to start with it, e.g. 18.6-... or 19-rc2-...", *image) } return *image, *flavor From a237c52c4ceb6aa84ff63555b617bb1f2ec8e696 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Mon, 9 Nov 2026 16:11:44 +0500 Subject: [PATCH 05/23] build: upgrade supautils to 4.0.0, pgmq to 1.13.1, and pgaudit for PG 19 to 19rc1 Co-Authored-By: Claude Opus 5.5 --- packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt | 4 ++-- packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt index 0898ce4..bdc3881 100644 --- a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt @@ -1,9 +1,9 @@ -pgedge-pgaudit_19-19-beta3_1.el9 +pgedge-pgaudit_19-19-rc1_1.el9 pgedge-postgis36_19-3.6.4-1.el9 pgedge-pgvector_19-0.8.7-1.el9 pgedge-pgbackrest-2.60.0-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 -pgedge-pgmq_19-1.13.0-1.el9 +pgedge-pgmq_19-1.13.1-1.el9 pgedge-pg_cron_19-1.6.8-1.el9 pgedge-pg-vectorize_19-0.27.1-1.el9 pgedge-pg-stat-monitor_19-2.4.0-1.el9 diff --git a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt index 0898ce4..bdc3881 100644 --- a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt @@ -1,9 +1,9 @@ -pgedge-pgaudit_19-19-beta3_1.el9 +pgedge-pgaudit_19-19-rc1_1.el9 pgedge-postgis36_19-3.6.4-1.el9 pgedge-pgvector_19-0.8.7-1.el9 pgedge-pgbackrest-2.60.0-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 -pgedge-pgmq_19-1.13.0-1.el9 +pgedge-pgmq_19-1.13.1-1.el9 pgedge-pg_cron_19-1.6.8-1.el9 pgedge-pg-vectorize_19-0.27.1-1.el9 pgedge-pg-stat-monitor_19-2.4.0-1.el9 From a211c4aea6efb07a2f192786e3167f6946ac8cd3 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Mon, 9 Nov 2026 16:15:31 +0500 Subject: [PATCH 06/23] build: restore supautils 4.0.0 in the PG 19 standard images and run its tests there supautils 3.2.2 aborted the PG 19 postmaster, so it was left out of the PG 19 standard images and its tests were skipped. 4.0.0 has a PG 19 build, so it is pinned again and the hasSupautils gate is removed: the supautils and extension-custom-scripts suites run on every major once more. Co-Authored-By: Claude Opus 5.5 --- .../amd64/pg19-rc2-spock5.0.13-standard.txt | 1 + .../arm64/pg19-rc2-spock5.0.13-standard.txt | 1 + tests/main.go | 26 +------------------ 3 files changed, 3 insertions(+), 25 deletions(-) diff --git a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt index bdc3881..0c5fe66 100644 --- a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt @@ -9,4 +9,5 @@ pgedge-pg-vectorize_19-0.27.1-1.el9 pgedge-pg-stat-monitor_19-2.4.0-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 +pgedge-supautils_19-4.0.0-1.el9 pgedge-safesession_19-1.0-1.el9 diff --git a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt index bdc3881..0c5fe66 100644 --- a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt @@ -9,4 +9,5 @@ pgedge-pg-vectorize_19-0.27.1-1.el9 pgedge-pg-stat-monitor_19-2.4.0-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 +pgedge-supautils_19-4.0.0-1.el9 pgedge-safesession_19-1.0-1.el9 diff --git a/tests/main.go b/tests/main.go index 346deba..cb7b99f 100644 --- a/tests/main.go +++ b/tests/main.go @@ -72,7 +72,6 @@ func main() { // TEMPORARY: see hasTokenizerBM25. if major := pgMajorFromImage(image); major >= 19 { hasTokenizerBM25 = false - hasSupautils = false } // Derive the expected spock major version from the image tag (e.g. @@ -132,14 +131,6 @@ func spockMajorFromImage(image string) string { // PG 19; the suite is then the same on every major again. var hasTokenizerBM25 = true -// TEMPORARY: supautils 3.2.2 is the only PG 19 build and it aborts the -// postmaster there -- it registers supautils.privileged_extensions_superuser -// with a NULL boot_val, tripping the check_GUC_init assertion PG 19 added. The -// PG 19 standard packagelist therefore omits supautils, so it is left out of -// shared_preload_libraries and its tests are skipped. Delete this once a PG 19 -// build of supautils >= 3.4.4 ships. -var hasSupautils = true - // pgMajorFromImage extracts the PostgreSQL major from an image reference's tag, // e.g. "...:18.6-spock5.0.13-standard-1" yields 18 and "...:19-spock5-minimal" // yields 19. It returns 0 when the tag does not start with a number, in which @@ -298,12 +289,7 @@ func skippedSuites(flavor string) []string { } var out []string - if !hasSupautils { - // The whole gate suite goes with it: those tests run through supautils' - // extension gate, so they cannot run without it. - n := len(getSupautilsTests()) + len(getExtensionCustomScriptsTests()) - out = append(out, fmt.Sprintf("%d skipped: image ships no supautils (see hasSupautils)", n)) - } else if !hasTokenizerBM25 { + if !hasTokenizerBM25 { n := 0 for _, t := range getExtensionCustomScriptsTests() { if t.TokenizerBM25Only { @@ -635,11 +621,6 @@ func (r *TestRunner) Start() error { } if includesStandard(r.flavor) { sharedLibs = "spock,snowflake,pgaudit,supautils,pg_cron" - // TEMPORARY: see hasSupautils. Preloading a module the image does not - // ship stops the postmaster from starting at all. - if !hasSupautils { - sharedLibs = "spock,snowflake,pgaudit,pg_cron" - } // TEMPORARY: see hasTokenizerBM25. Preloading an extension the image // does not ship stops the postmaster from starting at all. if hasTokenizerBM25 { @@ -1136,11 +1117,6 @@ func getColdfrontTests() []Test { func getStandardOnlyTests() []Test { tests := append(getSystemStatsAndVectorTests(), getPostGISAuditBackrestTests()...) - // TEMPORARY: see hasSupautils. Both suites need supautils loaded -- the - // custom-scripts ones run entirely through its extension gate. - if !hasSupautils { - return tests - } tests = append(tests, getSupautilsTests()...) return append(tests, getExtensionCustomScriptsTests()...) } From ec711e8dcfa9598d6763410218a4338b4cb5f1b8 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Mon, 9 Nov 2026 16:47:43 +0500 Subject: [PATCH 07/23] fix(tests): do not read a registry port as the PostgreSQL major pgMajorFromImage took everything after the last colon as the tag, so an untagged reference such as 127.0.0.1:5000/pgedge-postgres yielded major 5000. That passed the unreadable-major guard and switched on the PG 19 test gates. Only a colon after the last slash now starts a tag; an untagged reference yields 0 and is refused. Co-Authored-By: Claude Opus 5.5 --- tests/main.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/main.go b/tests/main.go index cb7b99f..a135935 100644 --- a/tests/main.go +++ b/tests/main.go @@ -133,11 +133,12 @@ var hasTokenizerBM25 = true // pgMajorFromImage extracts the PostgreSQL major from an image reference's tag, // e.g. "...:18.6-spock5.0.13-standard-1" yields 18 and "...:19-spock5-minimal" -// yields 19. It returns 0 when the tag does not start with a number, in which -// case the caller keeps the default and skips nothing. +// yields 19. It returns 0 when the reference has no tag or the tag does not +// start with a number. Only a colon after the last "/" starts a tag, so the +// port in an untagged "127.0.0.1:5000/pgedge-postgres" is not read as a major. func pgMajorFromImage(image string) int { - tag := image - if idx := strings.LastIndex(image, ":"); idx != -1 { + tag := "" + if idx := strings.LastIndex(image, ":"); idx > strings.LastIndex(image, "/") { tag = image[idx+1:] } From fc8bc1bb5500c7c3f8018c4bf4115f50a09f03d3 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Mon, 9 Nov 2026 17:29:27 +0500 Subject: [PATCH 08/23] fix(examples): preload and create only the extensions the image ships The enterprise and distributed compose examples hard-coded pg_tokenizer in shared_preload_libraries and in the CREATE EXTENSION list. The PG 19 standard image does not ship it, so pointing POSTGRES_IMAGE at that image stopped the postmaster on the post-init restart. Both scripts now preload a library only when its .so is in pg_config --pkglibdir and create an extension only when pg_available_extensions lists it, logging what they skip. Images that ship everything, such as PG 18 standard, are unchanged. Co-Authored-By: Claude Opus 5.5 --- .../compose/distributed/docker-compose.yaml | 19 ++++++++++++++++++- .../compose/enterprise/docker-compose.yaml | 19 ++++++++++++++++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/examples/compose/distributed/docker-compose.yaml b/examples/compose/distributed/docker-compose.yaml index ce2acfe..447894a 100644 --- a/examples/compose/distributed/docker-compose.yaml +++ b/examples/compose/distributed/docker-compose.yaml @@ -113,7 +113,19 @@ configs: #!/usr/bin/env bash set -Eeo pipefail - EXTENSIONS=("pg_stat_statements" "pgaudit" "snowflake" "spock" "postgis-3" "pg_stat_monitor" "pg_tokenizer" "pg_cron" "vectorize" "pgedge_vectorizer") + WANTED=("pg_stat_statements" "pgaudit" "snowflake" "spock" "postgis-3" "pg_stat_monitor" "pg_tokenizer" "pg_cron" "vectorize" "pgedge_vectorizer") + + # Preload only the libraries this image ships: preloading a missing one + # stops the postmaster. Not every extension has a build for every major. + PKGLIBDIR=$$(pg_config --pkglibdir) + EXTENSIONS=() + for EXT in "$${WANTED[@]}"; do + if [[ -f "$$PKGLIBDIR/$$EXT.so" ]]; then + EXTENSIONS+=("$$EXT") + else + echo "Skipping $$EXT: not available in this image" + fi + done PGCONF="$$PGDATA/postgresql.conf" @@ -175,6 +187,11 @@ configs: echo "Initializing extensions: $${EXTENSIONS[*]}" for EXT in "$${EXTENSIONS[@]}"; do + AVAILABLE=$$(psql -v ON_ERROR_STOP=1 --username "$$POSTGRES_USER" --dbname "$$POSTGRES_DB" -tAc "SELECT 1 FROM pg_available_extensions WHERE name = '$$EXT';") + if [[ "$$AVAILABLE" != "1" ]]; then + echo "Skipping extension $$EXT: not available in this image" + continue + fi echo "Creating extension: $$EXT" psql -v ON_ERROR_STOP=1 --username "$$POSTGRES_USER" --dbname "$$POSTGRES_DB" -c "CREATE EXTENSION IF NOT EXISTS \"$$EXT\";" done diff --git a/examples/compose/enterprise/docker-compose.yaml b/examples/compose/enterprise/docker-compose.yaml index 6ece451..1e2d258 100644 --- a/examples/compose/enterprise/docker-compose.yaml +++ b/examples/compose/enterprise/docker-compose.yaml @@ -33,7 +33,19 @@ configs: #!/usr/bin/env bash set -Eeo pipefail - EXTENSIONS=("pg_stat_statements" "pgaudit" "snowflake" "spock" "postgis-3" "pg_stat_monitor" "pg_tokenizer" "pg_cron" "vectorize" "pgedge_vectorizer") + WANTED=("pg_stat_statements" "pgaudit" "snowflake" "spock" "postgis-3" "pg_stat_monitor" "pg_tokenizer" "pg_cron" "vectorize" "pgedge_vectorizer") + + # Preload only the libraries this image ships: preloading a missing one + # stops the postmaster. Not every extension has a build for every major. + PKGLIBDIR=$$(pg_config --pkglibdir) + EXTENSIONS=() + for EXT in "$${WANTED[@]}"; do + if [[ -f "$$PKGLIBDIR/$$EXT.so" ]]; then + EXTENSIONS+=("$$EXT") + else + echo "Skipping $$EXT: not available in this image" + fi + done PGCONF="$$PGDATA/postgresql.conf" @@ -95,6 +107,11 @@ configs: echo "Initializing extensions: $${EXTENSIONS[*]}" for EXT in "$${EXTENSIONS[@]}"; do + AVAILABLE=$$(psql -v ON_ERROR_STOP=1 --username "$$POSTGRES_USER" --dbname "$$POSTGRES_DB" -tAc "SELECT 1 FROM pg_available_extensions WHERE name = '$$EXT';") + if [[ "$$AVAILABLE" != "1" ]]; then + echo "Skipping extension $$EXT: not available in this image" + continue + fi echo "Creating extension: $$EXT" psql -v ON_ERROR_STOP=1 --username "$$POSTGRES_USER" --dbname "$$POSTGRES_DB" -c "CREATE EXTENSION IF NOT EXISTS \"$$EXT\";" done \ No newline at end of file From 57953342473cb2d6af442c1bf9b53cb17252ef06 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Mon, 9 Nov 2026 21:22:03 +0500 Subject: [PATCH 09/23] build: use build 2 of the rebuilt PG 19 extension packages --- packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt | 12 ++++++------ packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt index 0c5fe66..420f773 100644 --- a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_19-19-rc1_1.el9 -pgedge-postgis36_19-3.6.4-1.el9 -pgedge-pgvector_19-0.8.7-1.el9 +pgedge-postgis36_19-3.6.4-2.el9 +pgedge-pgvector_19-0.8.7-2.el9 pgedge-pgbackrest-2.60.0-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.1-1.el9 -pgedge-pg_cron_19-1.6.8-1.el9 -pgedge-pg-vectorize_19-0.27.1-1.el9 -pgedge-pg-stat-monitor_19-2.4.0-1.el9 +pgedge-pg_cron_19-1.6.8-2.el9 +pgedge-pg-vectorize_19-0.27.1-2.el9 +pgedge-pg-stat-monitor_19-2.4.0-2.el9 pgedge-vectorizer_19-1.1-1.el9 -pgedge-system_stats_19-4.1-1.el9 +pgedge-system_stats_19-4.1-2.el9 pgedge-supautils_19-4.0.0-1.el9 pgedge-safesession_19-1.0-1.el9 diff --git a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt index 0c5fe66..420f773 100644 --- a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_19-19-rc1_1.el9 -pgedge-postgis36_19-3.6.4-1.el9 -pgedge-pgvector_19-0.8.7-1.el9 +pgedge-postgis36_19-3.6.4-2.el9 +pgedge-pgvector_19-0.8.7-2.el9 pgedge-pgbackrest-2.60.0-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.1-1.el9 -pgedge-pg_cron_19-1.6.8-1.el9 -pgedge-pg-vectorize_19-0.27.1-1.el9 -pgedge-pg-stat-monitor_19-2.4.0-1.el9 +pgedge-pg_cron_19-1.6.8-2.el9 +pgedge-pg-vectorize_19-0.27.1-2.el9 +pgedge-pg-stat-monitor_19-2.4.0-2.el9 pgedge-vectorizer_19-1.1-1.el9 -pgedge-system_stats_19-4.1-1.el9 +pgedge-system_stats_19-4.1-2.el9 pgedge-supautils_19-4.0.0-1.el9 pgedge-safesession_19-1.0-1.el9 From 267e3556b10dbb117898f9a77d5a676d788f7c7f Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Tue, 10 Nov 2026 20:28:16 +0500 Subject: [PATCH 10/23] build: keep the previous build of PG 19 extensions that were not rebuilt --- packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt | 8 ++++---- packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt index 420f773..d55238d 100644 --- a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_19-19-rc1_1.el9 pgedge-postgis36_19-3.6.4-2.el9 -pgedge-pgvector_19-0.8.7-2.el9 +pgedge-pgvector_19-0.8.7-1.el9 pgedge-pgbackrest-2.60.0-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.1-1.el9 pgedge-pg_cron_19-1.6.8-2.el9 -pgedge-pg-vectorize_19-0.27.1-2.el9 -pgedge-pg-stat-monitor_19-2.4.0-2.el9 +pgedge-pg-vectorize_19-0.27.1-1.el9 +pgedge-pg-stat-monitor_19-2.4.0-1.el9 pgedge-vectorizer_19-1.1-1.el9 -pgedge-system_stats_19-4.1-2.el9 +pgedge-system_stats_19-4.1-1.el9 pgedge-supautils_19-4.0.0-1.el9 pgedge-safesession_19-1.0-1.el9 diff --git a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt index 420f773..d55238d 100644 --- a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_19-19-rc1_1.el9 pgedge-postgis36_19-3.6.4-2.el9 -pgedge-pgvector_19-0.8.7-2.el9 +pgedge-pgvector_19-0.8.7-1.el9 pgedge-pgbackrest-2.60.0-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.1-1.el9 pgedge-pg_cron_19-1.6.8-2.el9 -pgedge-pg-vectorize_19-0.27.1-2.el9 -pgedge-pg-stat-monitor_19-2.4.0-2.el9 +pgedge-pg-vectorize_19-0.27.1-1.el9 +pgedge-pg-stat-monitor_19-2.4.0-1.el9 pgedge-vectorizer_19-1.1-1.el9 -pgedge-system_stats_19-4.1-2.el9 +pgedge-system_stats_19-4.1-1.el9 pgedge-supautils_19-4.0.0-1.el9 pgedge-safesession_19-1.0-1.el9 From 6d1dcdf0426f4bf5a4d9e6a98ccb8a89e66a1e54 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Tue, 10 Nov 2026 20:31:14 +0500 Subject: [PATCH 11/23] build: drop pg_stat_monitor from the PG 19 standard images until it builds on RC2 --- CHANGELOG.md | 5 +++-- packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt | 1 - packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79bb04a..93481b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,9 @@ - Added PostgreSQL 19 (rc2) postgres, minimal and standard images for spock 5. They omit pg_tokenizer and vchord_bm25, which have no PG 19 build yet; the - tests covering those extensions are skipped on PG 19 until they ship. No - coldfront or spock 6 images for PG 19 yet. + tests covering those extensions are skipped on PG 19 until they ship. They + also omit pg_stat_monitor until a release that builds on PostgreSQL 19 RC2. + No coldfront or spock 6 images for PG 19 yet. ## 2026-11-10 diff --git a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt index d55238d..ca16dc6 100644 --- a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt @@ -6,7 +6,6 @@ pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.1-1.el9 pgedge-pg_cron_19-1.6.8-2.el9 pgedge-pg-vectorize_19-0.27.1-1.el9 -pgedge-pg-stat-monitor_19-2.4.0-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 pgedge-supautils_19-4.0.0-1.el9 diff --git a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt index d55238d..ca16dc6 100644 --- a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt @@ -6,7 +6,6 @@ pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.1-1.el9 pgedge-pg_cron_19-1.6.8-2.el9 pgedge-pg-vectorize_19-0.27.1-1.el9 -pgedge-pg-stat-monitor_19-2.4.0-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 pgedge-supautils_19-4.0.0-1.el9 From ae8b1827120ba8b5f3ceb56f85c70d2ed64a1541 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Thu, 12 Nov 2026 00:16:07 +0500 Subject: [PATCH 12/23] build: upgrade Spock to 5.0.14, Snowflake to 2.6.1 and safesession to 1.1 in the PG 19 images --- packagelists/amd64/pg19-rc2-spock5.0.13-minimal.txt | 3 --- packagelists/amd64/pg19-rc2-spock5.0.14-minimal.txt | 3 +++ ...ck5.0.13-standard.txt => pg19-rc2-spock5.0.14-standard.txt} | 2 +- packagelists/arm64/pg19-rc2-spock5.0.13-minimal.txt | 3 --- packagelists/arm64/pg19-rc2-spock5.0.14-minimal.txt | 3 +++ ...ck5.0.13-standard.txt => pg19-rc2-spock5.0.14-standard.txt} | 2 +- scripts/build_pgedge_images.py | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 packagelists/amd64/pg19-rc2-spock5.0.13-minimal.txt create mode 100644 packagelists/amd64/pg19-rc2-spock5.0.14-minimal.txt rename packagelists/amd64/{pg19-rc2-spock5.0.13-standard.txt => pg19-rc2-spock5.0.14-standard.txt} (91%) delete mode 100644 packagelists/arm64/pg19-rc2-spock5.0.13-minimal.txt create mode 100644 packagelists/arm64/pg19-rc2-spock5.0.14-minimal.txt rename packagelists/arm64/{pg19-rc2-spock5.0.13-standard.txt => pg19-rc2-spock5.0.14-standard.txt} (91%) diff --git a/packagelists/amd64/pg19-rc2-spock5.0.13-minimal.txt b/packagelists/amd64/pg19-rc2-spock5.0.13-minimal.txt deleted file mode 100644 index cab8190..0000000 --- a/packagelists/amd64/pg19-rc2-spock5.0.13-minimal.txt +++ /dev/null @@ -1,3 +0,0 @@ -pgedge-spock50_19-5.0.13-1.el9 -pgedge-snowflake_19-2.6.0-1.el9 -pgedge-lolor_19-1.2.3-1.el9 diff --git a/packagelists/amd64/pg19-rc2-spock5.0.14-minimal.txt b/packagelists/amd64/pg19-rc2-spock5.0.14-minimal.txt new file mode 100644 index 0000000..627fb32 --- /dev/null +++ b/packagelists/amd64/pg19-rc2-spock5.0.14-minimal.txt @@ -0,0 +1,3 @@ +pgedge-spock50_19-5.0.14-1.el9 +pgedge-snowflake_19-2.6.1-1.el9 +pgedge-lolor_19-1.2.3-1.el9 diff --git a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/amd64/pg19-rc2-spock5.0.14-standard.txt similarity index 91% rename from packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt rename to packagelists/amd64/pg19-rc2-spock5.0.14-standard.txt index ca16dc6..da3ad37 100644 --- a/packagelists/amd64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/amd64/pg19-rc2-spock5.0.14-standard.txt @@ -9,4 +9,4 @@ pgedge-pg-vectorize_19-0.27.1-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 pgedge-supautils_19-4.0.0-1.el9 -pgedge-safesession_19-1.0-1.el9 +pgedge-safesession_19-1.1-1.el9 diff --git a/packagelists/arm64/pg19-rc2-spock5.0.13-minimal.txt b/packagelists/arm64/pg19-rc2-spock5.0.13-minimal.txt deleted file mode 100644 index cab8190..0000000 --- a/packagelists/arm64/pg19-rc2-spock5.0.13-minimal.txt +++ /dev/null @@ -1,3 +0,0 @@ -pgedge-spock50_19-5.0.13-1.el9 -pgedge-snowflake_19-2.6.0-1.el9 -pgedge-lolor_19-1.2.3-1.el9 diff --git a/packagelists/arm64/pg19-rc2-spock5.0.14-minimal.txt b/packagelists/arm64/pg19-rc2-spock5.0.14-minimal.txt new file mode 100644 index 0000000..627fb32 --- /dev/null +++ b/packagelists/arm64/pg19-rc2-spock5.0.14-minimal.txt @@ -0,0 +1,3 @@ +pgedge-spock50_19-5.0.14-1.el9 +pgedge-snowflake_19-2.6.1-1.el9 +pgedge-lolor_19-1.2.3-1.el9 diff --git a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt b/packagelists/arm64/pg19-rc2-spock5.0.14-standard.txt similarity index 91% rename from packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt rename to packagelists/arm64/pg19-rc2-spock5.0.14-standard.txt index ca16dc6..da3ad37 100644 --- a/packagelists/arm64/pg19-rc2-spock5.0.13-standard.txt +++ b/packagelists/arm64/pg19-rc2-spock5.0.14-standard.txt @@ -9,4 +9,4 @@ pgedge-pg-vectorize_19-0.27.1-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 pgedge-supautils_19-4.0.0-1.el9 -pgedge-safesession_19-1.0-1.el9 +pgedge-safesession_19-1.1-1.el9 diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index 741f727..7693add 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -306,7 +306,7 @@ def make_flavor_images( # pg19 images. No coldfront or spock 6 line yet: neither has a PG 19 build. *make_flavor_images( postgres_version="19-rc2", - spock_version="5.0.13", + spock_version="5.0.14", epochs={"minimal": 1, "standard": 1}, channels={"minimal": "staging", "standard": "staging"}, is_latest_for_pg_major=True, From b445b29b11f326b895d18f4366b13d9dff6a9a43 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Thu, 12 Nov 2026 15:44:24 +0500 Subject: [PATCH 13/23] build: upgrade ColdFront to 1.0.0-beta3 in the coldfront images --- CHANGELOG.md | 2 ++ packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt | 4 ++-- packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt | 4 ++-- packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt | 4 ++-- packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt | 4 ++-- packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt | 4 ++-- packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt | 4 ++-- scripts/build_pgedge_images.py | 9 ++++++--- 8 files changed, 20 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93481b9..5cb809e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ tests covering those extensions are skipped on PG 19 until they ship. They also omit pg_stat_monitor until a release that builds on PostgreSQL 19 RC2. No coldfront or spock 6 images for PG 19 yet. +- Upgraded ColdFront to 1.0.0-beta3 in coldfront images (Go 1.26.10 and patched + dependencies for the bundled archiver, compactor and partitioner binaries) ## 2026-11-10 diff --git a/packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt b/packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt index 85c9410..de2e4d6 100644 --- a/packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt +++ b/packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_16-1.0.0-beta2_1.el9 -pgedge-coldfront-1.0.0-beta2_1.el9 +pgedge-coldfront_16-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt b/packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt index a5b55a8..f726fd1 100644 --- a/packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt +++ b/packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_17-1.0.0-beta2_1.el9 -pgedge-coldfront-1.0.0-beta2_1.el9 +pgedge-coldfront_17-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt b/packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt index f242c11..ebd0b1e 100644 --- a/packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt +++ b/packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_18-1.0.0-beta2_1.el9 -pgedge-coldfront-1.0.0-beta2_1.el9 +pgedge-coldfront_18-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt b/packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt index 85c9410..de2e4d6 100644 --- a/packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt +++ b/packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_16-1.0.0-beta2_1.el9 -pgedge-coldfront-1.0.0-beta2_1.el9 +pgedge-coldfront_16-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt b/packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt index a5b55a8..f726fd1 100644 --- a/packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt +++ b/packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_17-1.0.0-beta2_1.el9 -pgedge-coldfront-1.0.0-beta2_1.el9 +pgedge-coldfront_17-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt b/packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt index f242c11..ebd0b1e 100644 --- a/packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt +++ b/packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_18-1.0.0-beta2_1.el9 -pgedge-coldfront-1.0.0-beta2_1.el9 +pgedge-coldfront_18-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index 7693add..d168eef 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -283,7 +283,8 @@ def make_flavor_images( *make_flavor_images( postgres_version="16.16", spock_version="5.0.14", - epochs={"minimal": 1, "standard": 1, "coldfront": 1}, + epochs={"minimal": 1, "standard": 1, "coldfront": 2}, + channels={"coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -291,7 +292,8 @@ def make_flavor_images( *make_flavor_images( postgres_version="17.12", spock_version="5.0.14", - epochs={"minimal": 1, "standard": 1, "coldfront": 1}, + epochs={"minimal": 1, "standard": 1, "coldfront": 2}, + channels={"coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -299,7 +301,8 @@ def make_flavor_images( *make_flavor_images( postgres_version="18.7", spock_version="5.0.14", - epochs={"minimal": 1, "standard": 1, "coldfront": 1}, + epochs={"minimal": 1, "standard": 1, "coldfront": 2}, + channels={"coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), From 4feb049ba3824bced076ebf7c14290ce4bf51902 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Tue, 17 Nov 2026 01:16:57 +0500 Subject: [PATCH 14/23] build: move PG 19 images to 19.0 and add pg_stat_monitor 2.4.1 and pgBackRest 2.60.1 to all standard images --- CHANGELOG.md | 6 +++--- .../amd64/pg16.16-spock5.0.14-standard.txt | 4 ++-- .../amd64/pg16.16-spock6.0.0-beta1-standard.txt | 4 ++-- .../amd64/pg17.12-spock5.0.14-standard.txt | 4 ++-- .../amd64/pg17.12-spock6.0.0-beta1-standard.txt | 4 ++-- .../amd64/pg18.7-spock5.0.14-standard.txt | 4 ++-- .../amd64/pg18.7-spock6.0.0-beta1-standard.txt | 4 ++-- packagelists/amd64/pg19-rc2-postgres.txt | 2 -- packagelists/amd64/pg19.0-postgres.txt | 2 ++ ...inimal.txt => pg19.0-spock5.0.14-minimal.txt} | 0 ...ndard.txt => pg19.0-spock5.0.14-standard.txt} | 3 ++- .../arm64/pg16.16-spock5.0.14-standard.txt | 4 ++-- .../arm64/pg16.16-spock6.0.0-beta1-standard.txt | 4 ++-- .../arm64/pg17.12-spock5.0.14-standard.txt | 4 ++-- .../arm64/pg17.12-spock6.0.0-beta1-standard.txt | 4 ++-- .../arm64/pg18.7-spock5.0.14-standard.txt | 4 ++-- .../arm64/pg18.7-spock6.0.0-beta1-standard.txt | 4 ++-- packagelists/arm64/pg19-rc2-postgres.txt | 2 -- packagelists/arm64/pg19.0-postgres.txt | 2 ++ ...inimal.txt => pg19.0-spock5.0.14-minimal.txt} | 0 ...ndard.txt => pg19.0-spock5.0.14-standard.txt} | 3 ++- scripts/build_pgedge_images.py | 16 ++++++++-------- tests/main.go | 4 ++-- 23 files changed, 45 insertions(+), 43 deletions(-) delete mode 100644 packagelists/amd64/pg19-rc2-postgres.txt create mode 100644 packagelists/amd64/pg19.0-postgres.txt rename packagelists/amd64/{pg19-rc2-spock5.0.14-minimal.txt => pg19.0-spock5.0.14-minimal.txt} (100%) rename packagelists/amd64/{pg19-rc2-spock5.0.14-standard.txt => pg19.0-spock5.0.14-standard.txt} (83%) delete mode 100644 packagelists/arm64/pg19-rc2-postgres.txt create mode 100644 packagelists/arm64/pg19.0-postgres.txt rename packagelists/arm64/{pg19-rc2-spock5.0.14-minimal.txt => pg19.0-spock5.0.14-minimal.txt} (100%) rename packagelists/arm64/{pg19-rc2-spock5.0.14-standard.txt => pg19.0-spock5.0.14-standard.txt} (83%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cb809e..dd316d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,11 @@ ## Unreleased -- Added PostgreSQL 19 (rc2) postgres, minimal and standard images for spock 5. +- Added PostgreSQL 19.0 postgres, minimal and standard images for spock 5. They omit pg_tokenizer and vchord_bm25, which have no PG 19 build yet; the - tests covering those extensions are skipped on PG 19 until they ship. They - also omit pg_stat_monitor until a release that builds on PostgreSQL 19 RC2. + tests covering those extensions are skipped on PG 19 until they ship. No coldfront or spock 6 images for PG 19 yet. +- Upgraded pg_stat_monitor to 2.4.1 and pgBackRest to 2.60.1 in standard images - Upgraded ColdFront to 1.0.0-beta3 in coldfront images (Go 1.26.10 and patched dependencies for the bundled archiver, compactor and partitioner binaries) diff --git a/packagelists/amd64/pg16.16-spock5.0.14-standard.txt b/packagelists/amd64/pg16.16-spock5.0.14-standard.txt index f8693b7..2293ef0 100644 --- a/packagelists/amd64/pg16.16-spock5.0.14-standard.txt +++ b/packagelists/amd64/pg16.16-spock5.0.14-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_16-16.1-1.el9 pgedge-postgis36_16-3.6.4-2.el9 pgedge-pgvector_16-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_16-1.13.1-1.el9 pgedge-pg_cron_16-1.6.8-1.el9 pgedge-pg-tokenizer_16-0.1.1-1.el9 pgedge-pg-vectorize_16-0.27.1-1.el9 -pgedge-pg-stat-monitor_16-2.4.0-1.el9 +pgedge-pg-stat-monitor_16-2.4.1-1.el9 pgedge-vchord-bm25_16-0.2.2-1.el9 pgedge-vectorizer_16-1.1-1.el9 pgedge-system_stats_16-4.1-1.el9 diff --git a/packagelists/amd64/pg16.16-spock6.0.0-beta1-standard.txt b/packagelists/amd64/pg16.16-spock6.0.0-beta1-standard.txt index f8693b7..2293ef0 100644 --- a/packagelists/amd64/pg16.16-spock6.0.0-beta1-standard.txt +++ b/packagelists/amd64/pg16.16-spock6.0.0-beta1-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_16-16.1-1.el9 pgedge-postgis36_16-3.6.4-2.el9 pgedge-pgvector_16-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_16-1.13.1-1.el9 pgedge-pg_cron_16-1.6.8-1.el9 pgedge-pg-tokenizer_16-0.1.1-1.el9 pgedge-pg-vectorize_16-0.27.1-1.el9 -pgedge-pg-stat-monitor_16-2.4.0-1.el9 +pgedge-pg-stat-monitor_16-2.4.1-1.el9 pgedge-vchord-bm25_16-0.2.2-1.el9 pgedge-vectorizer_16-1.1-1.el9 pgedge-system_stats_16-4.1-1.el9 diff --git a/packagelists/amd64/pg17.12-spock5.0.14-standard.txt b/packagelists/amd64/pg17.12-spock5.0.14-standard.txt index 9d638a3..95be5d1 100644 --- a/packagelists/amd64/pg17.12-spock5.0.14-standard.txt +++ b/packagelists/amd64/pg17.12-spock5.0.14-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_17-17.1-1.el9 pgedge-postgis36_17-3.6.4-2.el9 pgedge-pgvector_17-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_17-1.13.1-1.el9 pgedge-pg_cron_17-1.6.8-1.el9 pgedge-pg-tokenizer_17-0.1.1-1.el9 pgedge-pg-vectorize_17-0.27.1-1.el9 -pgedge-pg-stat-monitor_17-2.4.0-1.el9 +pgedge-pg-stat-monitor_17-2.4.1-1.el9 pgedge-vchord-bm25_17-0.2.2-1.el9 pgedge-vectorizer_17-1.1-1.el9 pgedge-system_stats_17-4.1-1.el9 diff --git a/packagelists/amd64/pg17.12-spock6.0.0-beta1-standard.txt b/packagelists/amd64/pg17.12-spock6.0.0-beta1-standard.txt index 9d638a3..95be5d1 100644 --- a/packagelists/amd64/pg17.12-spock6.0.0-beta1-standard.txt +++ b/packagelists/amd64/pg17.12-spock6.0.0-beta1-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_17-17.1-1.el9 pgedge-postgis36_17-3.6.4-2.el9 pgedge-pgvector_17-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_17-1.13.1-1.el9 pgedge-pg_cron_17-1.6.8-1.el9 pgedge-pg-tokenizer_17-0.1.1-1.el9 pgedge-pg-vectorize_17-0.27.1-1.el9 -pgedge-pg-stat-monitor_17-2.4.0-1.el9 +pgedge-pg-stat-monitor_17-2.4.1-1.el9 pgedge-vchord-bm25_17-0.2.2-1.el9 pgedge-vectorizer_17-1.1-1.el9 pgedge-system_stats_17-4.1-1.el9 diff --git a/packagelists/amd64/pg18.7-spock5.0.14-standard.txt b/packagelists/amd64/pg18.7-spock5.0.14-standard.txt index d127e38..9b6f9bd 100644 --- a/packagelists/amd64/pg18.7-spock5.0.14-standard.txt +++ b/packagelists/amd64/pg18.7-spock5.0.14-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_18-18.0-1.el9 pgedge-postgis36_18-3.6.4-2.el9 pgedge-pgvector_18-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_18-1.13.1-1.el9 pgedge-pg_cron_18-1.6.8-1.el9 pgedge-pg-tokenizer_18-0.1.1-1.el9 pgedge-pg-vectorize_18-0.27.1-1.el9 -pgedge-pg-stat-monitor_18-2.4.0-1.el9 +pgedge-pg-stat-monitor_18-2.4.1-1.el9 pgedge-vchord-bm25_18-0.2.2-1.el9 pgedge-vectorizer_18-1.1-1.el9 pgedge-system_stats_18-4.1-1.el9 diff --git a/packagelists/amd64/pg18.7-spock6.0.0-beta1-standard.txt b/packagelists/amd64/pg18.7-spock6.0.0-beta1-standard.txt index d127e38..9b6f9bd 100644 --- a/packagelists/amd64/pg18.7-spock6.0.0-beta1-standard.txt +++ b/packagelists/amd64/pg18.7-spock6.0.0-beta1-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_18-18.0-1.el9 pgedge-postgis36_18-3.6.4-2.el9 pgedge-pgvector_18-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_18-1.13.1-1.el9 pgedge-pg_cron_18-1.6.8-1.el9 pgedge-pg-tokenizer_18-0.1.1-1.el9 pgedge-pg-vectorize_18-0.27.1-1.el9 -pgedge-pg-stat-monitor_18-2.4.0-1.el9 +pgedge-pg-stat-monitor_18-2.4.1-1.el9 pgedge-vchord-bm25_18-0.2.2-1.el9 pgedge-vectorizer_18-1.1-1.el9 pgedge-system_stats_18-4.1-1.el9 diff --git a/packagelists/amd64/pg19-rc2-postgres.txt b/packagelists/amd64/pg19-rc2-postgres.txt deleted file mode 100644 index c9176bf..0000000 --- a/packagelists/amd64/pg19-rc2-postgres.txt +++ /dev/null @@ -1,2 +0,0 @@ -pgedge-postgresql19-19-rc2_1.el9 -pgedge-postgresql19-server-19-rc2_1.el9 diff --git a/packagelists/amd64/pg19.0-postgres.txt b/packagelists/amd64/pg19.0-postgres.txt new file mode 100644 index 0000000..fa0463d --- /dev/null +++ b/packagelists/amd64/pg19.0-postgres.txt @@ -0,0 +1,2 @@ +pgedge-postgresql19-19.0-1.el9 +pgedge-postgresql19-server-19.0-1.el9 diff --git a/packagelists/amd64/pg19-rc2-spock5.0.14-minimal.txt b/packagelists/amd64/pg19.0-spock5.0.14-minimal.txt similarity index 100% rename from packagelists/amd64/pg19-rc2-spock5.0.14-minimal.txt rename to packagelists/amd64/pg19.0-spock5.0.14-minimal.txt diff --git a/packagelists/amd64/pg19-rc2-spock5.0.14-standard.txt b/packagelists/amd64/pg19.0-spock5.0.14-standard.txt similarity index 83% rename from packagelists/amd64/pg19-rc2-spock5.0.14-standard.txt rename to packagelists/amd64/pg19.0-spock5.0.14-standard.txt index da3ad37..76e0a96 100644 --- a/packagelists/amd64/pg19-rc2-spock5.0.14-standard.txt +++ b/packagelists/amd64/pg19.0-spock5.0.14-standard.txt @@ -1,11 +1,12 @@ pgedge-pgaudit_19-19-rc1_1.el9 pgedge-postgis36_19-3.6.4-2.el9 pgedge-pgvector_19-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.1-1.el9 pgedge-pg_cron_19-1.6.8-2.el9 pgedge-pg-vectorize_19-0.27.1-1.el9 +pgedge-pg-stat-monitor_19-2.4.1-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 pgedge-supautils_19-4.0.0-1.el9 diff --git a/packagelists/arm64/pg16.16-spock5.0.14-standard.txt b/packagelists/arm64/pg16.16-spock5.0.14-standard.txt index f8693b7..2293ef0 100644 --- a/packagelists/arm64/pg16.16-spock5.0.14-standard.txt +++ b/packagelists/arm64/pg16.16-spock5.0.14-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_16-16.1-1.el9 pgedge-postgis36_16-3.6.4-2.el9 pgedge-pgvector_16-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_16-1.13.1-1.el9 pgedge-pg_cron_16-1.6.8-1.el9 pgedge-pg-tokenizer_16-0.1.1-1.el9 pgedge-pg-vectorize_16-0.27.1-1.el9 -pgedge-pg-stat-monitor_16-2.4.0-1.el9 +pgedge-pg-stat-monitor_16-2.4.1-1.el9 pgedge-vchord-bm25_16-0.2.2-1.el9 pgedge-vectorizer_16-1.1-1.el9 pgedge-system_stats_16-4.1-1.el9 diff --git a/packagelists/arm64/pg16.16-spock6.0.0-beta1-standard.txt b/packagelists/arm64/pg16.16-spock6.0.0-beta1-standard.txt index f8693b7..2293ef0 100644 --- a/packagelists/arm64/pg16.16-spock6.0.0-beta1-standard.txt +++ b/packagelists/arm64/pg16.16-spock6.0.0-beta1-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_16-16.1-1.el9 pgedge-postgis36_16-3.6.4-2.el9 pgedge-pgvector_16-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_16-1.13.1-1.el9 pgedge-pg_cron_16-1.6.8-1.el9 pgedge-pg-tokenizer_16-0.1.1-1.el9 pgedge-pg-vectorize_16-0.27.1-1.el9 -pgedge-pg-stat-monitor_16-2.4.0-1.el9 +pgedge-pg-stat-monitor_16-2.4.1-1.el9 pgedge-vchord-bm25_16-0.2.2-1.el9 pgedge-vectorizer_16-1.1-1.el9 pgedge-system_stats_16-4.1-1.el9 diff --git a/packagelists/arm64/pg17.12-spock5.0.14-standard.txt b/packagelists/arm64/pg17.12-spock5.0.14-standard.txt index 9d638a3..95be5d1 100644 --- a/packagelists/arm64/pg17.12-spock5.0.14-standard.txt +++ b/packagelists/arm64/pg17.12-spock5.0.14-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_17-17.1-1.el9 pgedge-postgis36_17-3.6.4-2.el9 pgedge-pgvector_17-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_17-1.13.1-1.el9 pgedge-pg_cron_17-1.6.8-1.el9 pgedge-pg-tokenizer_17-0.1.1-1.el9 pgedge-pg-vectorize_17-0.27.1-1.el9 -pgedge-pg-stat-monitor_17-2.4.0-1.el9 +pgedge-pg-stat-monitor_17-2.4.1-1.el9 pgedge-vchord-bm25_17-0.2.2-1.el9 pgedge-vectorizer_17-1.1-1.el9 pgedge-system_stats_17-4.1-1.el9 diff --git a/packagelists/arm64/pg17.12-spock6.0.0-beta1-standard.txt b/packagelists/arm64/pg17.12-spock6.0.0-beta1-standard.txt index 9d638a3..95be5d1 100644 --- a/packagelists/arm64/pg17.12-spock6.0.0-beta1-standard.txt +++ b/packagelists/arm64/pg17.12-spock6.0.0-beta1-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_17-17.1-1.el9 pgedge-postgis36_17-3.6.4-2.el9 pgedge-pgvector_17-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_17-1.13.1-1.el9 pgedge-pg_cron_17-1.6.8-1.el9 pgedge-pg-tokenizer_17-0.1.1-1.el9 pgedge-pg-vectorize_17-0.27.1-1.el9 -pgedge-pg-stat-monitor_17-2.4.0-1.el9 +pgedge-pg-stat-monitor_17-2.4.1-1.el9 pgedge-vchord-bm25_17-0.2.2-1.el9 pgedge-vectorizer_17-1.1-1.el9 pgedge-system_stats_17-4.1-1.el9 diff --git a/packagelists/arm64/pg18.7-spock5.0.14-standard.txt b/packagelists/arm64/pg18.7-spock5.0.14-standard.txt index d127e38..9b6f9bd 100644 --- a/packagelists/arm64/pg18.7-spock5.0.14-standard.txt +++ b/packagelists/arm64/pg18.7-spock5.0.14-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_18-18.0-1.el9 pgedge-postgis36_18-3.6.4-2.el9 pgedge-pgvector_18-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_18-1.13.1-1.el9 pgedge-pg_cron_18-1.6.8-1.el9 pgedge-pg-tokenizer_18-0.1.1-1.el9 pgedge-pg-vectorize_18-0.27.1-1.el9 -pgedge-pg-stat-monitor_18-2.4.0-1.el9 +pgedge-pg-stat-monitor_18-2.4.1-1.el9 pgedge-vchord-bm25_18-0.2.2-1.el9 pgedge-vectorizer_18-1.1-1.el9 pgedge-system_stats_18-4.1-1.el9 diff --git a/packagelists/arm64/pg18.7-spock6.0.0-beta1-standard.txt b/packagelists/arm64/pg18.7-spock6.0.0-beta1-standard.txt index d127e38..9b6f9bd 100644 --- a/packagelists/arm64/pg18.7-spock6.0.0-beta1-standard.txt +++ b/packagelists/arm64/pg18.7-spock6.0.0-beta1-standard.txt @@ -1,13 +1,13 @@ pgedge-pgaudit_18-18.0-1.el9 pgedge-postgis36_18-3.6.4-2.el9 pgedge-pgvector_18-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_18-1.13.1-1.el9 pgedge-pg_cron_18-1.6.8-1.el9 pgedge-pg-tokenizer_18-0.1.1-1.el9 pgedge-pg-vectorize_18-0.27.1-1.el9 -pgedge-pg-stat-monitor_18-2.4.0-1.el9 +pgedge-pg-stat-monitor_18-2.4.1-1.el9 pgedge-vchord-bm25_18-0.2.2-1.el9 pgedge-vectorizer_18-1.1-1.el9 pgedge-system_stats_18-4.1-1.el9 diff --git a/packagelists/arm64/pg19-rc2-postgres.txt b/packagelists/arm64/pg19-rc2-postgres.txt deleted file mode 100644 index c9176bf..0000000 --- a/packagelists/arm64/pg19-rc2-postgres.txt +++ /dev/null @@ -1,2 +0,0 @@ -pgedge-postgresql19-19-rc2_1.el9 -pgedge-postgresql19-server-19-rc2_1.el9 diff --git a/packagelists/arm64/pg19.0-postgres.txt b/packagelists/arm64/pg19.0-postgres.txt new file mode 100644 index 0000000..fa0463d --- /dev/null +++ b/packagelists/arm64/pg19.0-postgres.txt @@ -0,0 +1,2 @@ +pgedge-postgresql19-19.0-1.el9 +pgedge-postgresql19-server-19.0-1.el9 diff --git a/packagelists/arm64/pg19-rc2-spock5.0.14-minimal.txt b/packagelists/arm64/pg19.0-spock5.0.14-minimal.txt similarity index 100% rename from packagelists/arm64/pg19-rc2-spock5.0.14-minimal.txt rename to packagelists/arm64/pg19.0-spock5.0.14-minimal.txt diff --git a/packagelists/arm64/pg19-rc2-spock5.0.14-standard.txt b/packagelists/arm64/pg19.0-spock5.0.14-standard.txt similarity index 83% rename from packagelists/arm64/pg19-rc2-spock5.0.14-standard.txt rename to packagelists/arm64/pg19.0-spock5.0.14-standard.txt index da3ad37..76e0a96 100644 --- a/packagelists/arm64/pg19-rc2-spock5.0.14-standard.txt +++ b/packagelists/arm64/pg19.0-spock5.0.14-standard.txt @@ -1,11 +1,12 @@ pgedge-pgaudit_19-19-rc1_1.el9 pgedge-postgis36_19-3.6.4-2.el9 pgedge-pgvector_19-0.8.7-1.el9 -pgedge-pgbackrest-2.60.0-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 pgedge-python3-psycopg2-2.9.12-1.el9 pgedge-pgmq_19-1.13.1-1.el9 pgedge-pg_cron_19-1.6.8-2.el9 pgedge-pg-vectorize_19-0.27.1-1.el9 +pgedge-pg-stat-monitor_19-2.4.1-1.el9 pgedge-vectorizer_19-1.1-1.el9 pgedge-system_stats_19-4.1-1.el9 pgedge-supautils_19-4.0.0-1.el9 diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index d168eef..f7902fb 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -276,14 +276,14 @@ def make_flavor_images( is_latest_for_pg_major=True, ), PgEdgeImage( - postgres_version="19-rc2", spock_version="", epoch=1, flavor="postgres", + postgres_version="19.0", spock_version="", epoch=1, flavor="postgres", is_latest_for_pg_major=True, package_release_channel="staging", ), # pg16 images *make_flavor_images( postgres_version="16.16", spock_version="5.0.14", - epochs={"minimal": 1, "standard": 1, "coldfront": 2}, + epochs={"minimal": 1, "standard": 2, "coldfront": 2}, channels={"coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, @@ -292,7 +292,7 @@ def make_flavor_images( *make_flavor_images( postgres_version="17.12", spock_version="5.0.14", - epochs={"minimal": 1, "standard": 1, "coldfront": 2}, + epochs={"minimal": 1, "standard": 2, "coldfront": 2}, channels={"coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, @@ -301,14 +301,14 @@ def make_flavor_images( *make_flavor_images( postgres_version="18.7", spock_version="5.0.14", - epochs={"minimal": 1, "standard": 1, "coldfront": 2}, + epochs={"minimal": 1, "standard": 2, "coldfront": 2}, channels={"coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), # pg19 images. No coldfront or spock 6 line yet: neither has a PG 19 build. *make_flavor_images( - postgres_version="19-rc2", + postgres_version="19.0", spock_version="5.0.14", epochs={"minimal": 1, "standard": 1}, channels={"minimal": "staging", "standard": "staging"}, @@ -319,7 +319,7 @@ def make_flavor_images( *make_flavor_images( postgres_version="16.16", spock_version="6.0.0-beta1", - epochs={"minimal": 1, "standard": 1}, + epochs={"minimal": 1, "standard": 2}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -327,7 +327,7 @@ def make_flavor_images( *make_flavor_images( postgres_version="17.12", spock_version="6.0.0-beta1", - epochs={"minimal": 1, "standard": 1}, + epochs={"minimal": 1, "standard": 2}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -335,7 +335,7 @@ def make_flavor_images( *make_flavor_images( postgres_version="18.7", spock_version="6.0.0-beta1", - epochs={"minimal": 1, "standard": 1}, + epochs={"minimal": 1, "standard": 2}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), diff --git a/tests/main.go b/tests/main.go index a135935..495955d 100644 --- a/tests/main.go +++ b/tests/main.go @@ -183,11 +183,11 @@ func parseFlags() (string, string) { // reference is the common case -- "@sha256:..." puts hex where the tag // belongs. CI retags by digest before calling this, so it passes a tag. if strings.Contains(*image, "@") { - log.Fatalf("Image %q is a digest reference; pass a tagged one, e.g. %s:19-rc2-spock5.0.13-standard-1", + log.Fatalf("Image %q is a digest reference; pass a tagged one, e.g. %s:19.0-spock5.0.14-standard-1", *image, strings.SplitN(*image, "@", 2)[0]) } if pgMajorFromImage(*image) == 0 { - log.Fatalf("Cannot read a PostgreSQL major from image %q. The tag has to start with it, e.g. 18.6-... or 19-rc2-...", *image) + log.Fatalf("Cannot read a PostgreSQL major from image %q. The tag has to start with it, e.g. 18.7-... or 19.0-...", *image) } return *image, *flavor From c53cbfd76a412c6706d8b9697ef23365bfbb5085 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Tue, 17 Nov 2026 01:24:38 +0500 Subject: [PATCH 15/23] build: build the PG 16-18 standard images from staging for pg_stat_monitor 2.4.1 and pgBackRest 2.60.1 --- scripts/build_pgedge_images.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index f7902fb..e986df1 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -284,7 +284,7 @@ def make_flavor_images( postgres_version="16.16", spock_version="5.0.14", epochs={"minimal": 1, "standard": 2, "coldfront": 2}, - channels={"coldfront": "staging"}, + channels={"standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -293,7 +293,7 @@ def make_flavor_images( postgres_version="17.12", spock_version="5.0.14", epochs={"minimal": 1, "standard": 2, "coldfront": 2}, - channels={"coldfront": "staging"}, + channels={"standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -302,7 +302,7 @@ def make_flavor_images( postgres_version="18.7", spock_version="5.0.14", epochs={"minimal": 1, "standard": 2, "coldfront": 2}, - channels={"coldfront": "staging"}, + channels={"standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -320,6 +320,7 @@ def make_flavor_images( postgres_version="16.16", spock_version="6.0.0-beta1", epochs={"minimal": 1, "standard": 2}, + channels={"standard": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -328,6 +329,7 @@ def make_flavor_images( postgres_version="17.12", spock_version="6.0.0-beta1", epochs={"minimal": 1, "standard": 2}, + channels={"standard": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -336,6 +338,7 @@ def make_flavor_images( postgres_version="18.7", spock_version="6.0.0-beta1", epochs={"minimal": 1, "standard": 2}, + channels={"standard": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), From 582c95cba864696e286520a6b49d985a9b3fbf0d Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Tue, 17 Nov 2026 13:53:38 +0500 Subject: [PATCH 16/23] build: upgrade spock 6 to 6.0.0-beta2 and add PG 19 spock 6 images --- CHANGELOG.md | 9 +++--- ...t => pg16.16-spock6.0.0-beta2-minimal.txt} | 2 +- ... => pg16.16-spock6.0.0-beta2-standard.txt} | 0 .../pg17.12-spock6.0.0-beta2-minimal.txt} | 2 +- ... => pg17.12-spock6.0.0-beta2-standard.txt} | 0 .../pg18.7-spock6.0.0-beta2-minimal.txt} | 2 +- ...t => pg18.7-spock6.0.0-beta2-standard.txt} | 0 .../amd64/pg19.0-spock6.0.0-beta2-minimal.txt | 3 ++ .../pg19.0-spock6.0.0-beta2-standard.txt | 13 +++++++++ ...t => pg16.16-spock6.0.0-beta2-minimal.txt} | 2 +- ... => pg16.16-spock6.0.0-beta2-standard.txt} | 0 .../pg17.12-spock6.0.0-beta2-minimal.txt} | 2 +- ... => pg17.12-spock6.0.0-beta2-standard.txt} | 0 .../pg18.7-spock6.0.0-beta2-minimal.txt} | 2 +- ...t => pg18.7-spock6.0.0-beta2-standard.txt} | 0 .../arm64/pg19.0-spock6.0.0-beta2-minimal.txt | 3 ++ .../pg19.0-spock6.0.0-beta2-standard.txt | 13 +++++++++ scripts/build_pgedge_images.py | 29 ++++++++++++------- 18 files changed, 62 insertions(+), 20 deletions(-) rename packagelists/amd64/{pg16.16-spock6.0.0-beta1-minimal.txt => pg16.16-spock6.0.0-beta2-minimal.txt} (62%) rename packagelists/amd64/{pg16.16-spock6.0.0-beta1-standard.txt => pg16.16-spock6.0.0-beta2-standard.txt} (100%) rename packagelists/{arm64/pg17.12-spock6.0.0-beta1-minimal.txt => amd64/pg17.12-spock6.0.0-beta2-minimal.txt} (62%) rename packagelists/amd64/{pg17.12-spock6.0.0-beta1-standard.txt => pg17.12-spock6.0.0-beta2-standard.txt} (100%) rename packagelists/{arm64/pg18.7-spock6.0.0-beta1-minimal.txt => amd64/pg18.7-spock6.0.0-beta2-minimal.txt} (62%) rename packagelists/amd64/{pg18.7-spock6.0.0-beta1-standard.txt => pg18.7-spock6.0.0-beta2-standard.txt} (100%) create mode 100644 packagelists/amd64/pg19.0-spock6.0.0-beta2-minimal.txt create mode 100644 packagelists/amd64/pg19.0-spock6.0.0-beta2-standard.txt rename packagelists/arm64/{pg16.16-spock6.0.0-beta1-minimal.txt => pg16.16-spock6.0.0-beta2-minimal.txt} (62%) rename packagelists/arm64/{pg16.16-spock6.0.0-beta1-standard.txt => pg16.16-spock6.0.0-beta2-standard.txt} (100%) rename packagelists/{amd64/pg17.12-spock6.0.0-beta1-minimal.txt => arm64/pg17.12-spock6.0.0-beta2-minimal.txt} (62%) rename packagelists/arm64/{pg17.12-spock6.0.0-beta1-standard.txt => pg17.12-spock6.0.0-beta2-standard.txt} (100%) rename packagelists/{amd64/pg18.7-spock6.0.0-beta1-minimal.txt => arm64/pg18.7-spock6.0.0-beta2-minimal.txt} (62%) rename packagelists/arm64/{pg18.7-spock6.0.0-beta1-standard.txt => pg18.7-spock6.0.0-beta2-standard.txt} (100%) create mode 100644 packagelists/arm64/pg19.0-spock6.0.0-beta2-minimal.txt create mode 100644 packagelists/arm64/pg19.0-spock6.0.0-beta2-standard.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index dd316d8..84b5154 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,11 @@ ## Unreleased -- Added PostgreSQL 19.0 postgres, minimal and standard images for spock 5. - They omit pg_tokenizer and vchord_bm25, which have no PG 19 build yet; the - tests covering those extensions are skipped on PG 19 until they ship. - No coldfront or spock 6 images for PG 19 yet. +- Added PostgreSQL 19.0 postgres image, and minimal and standard images for + spock 5 and spock 6. They omit pg_tokenizer and vchord_bm25, which have no + PG 19 build yet; the tests covering those extensions are skipped on PG 19 + until they ship. No coldfront images for PG 19 yet. +- Upgraded spock 6 images to 6.0.0-beta2 - Upgraded pg_stat_monitor to 2.4.1 and pgBackRest to 2.60.1 in standard images - Upgraded ColdFront to 1.0.0-beta3 in coldfront images (Go 1.26.10 and patched dependencies for the bundled archiver, compactor and partitioner binaries) diff --git a/packagelists/amd64/pg16.16-spock6.0.0-beta1-minimal.txt b/packagelists/amd64/pg16.16-spock6.0.0-beta2-minimal.txt similarity index 62% rename from packagelists/amd64/pg16.16-spock6.0.0-beta1-minimal.txt rename to packagelists/amd64/pg16.16-spock6.0.0-beta2-minimal.txt index 4cee139..36aec9b 100644 --- a/packagelists/amd64/pg16.16-spock6.0.0-beta1-minimal.txt +++ b/packagelists/amd64/pg16.16-spock6.0.0-beta2-minimal.txt @@ -1,3 +1,3 @@ -pgedge-spock60_16-6.0.0-beta1_1.el9 +pgedge-spock60_16-6.0.0-beta2_1.el9 pgedge-snowflake_16-2.6.1-1.el9 pgedge-lolor_16-1.2.3-1.el9 diff --git a/packagelists/amd64/pg16.16-spock6.0.0-beta1-standard.txt b/packagelists/amd64/pg16.16-spock6.0.0-beta2-standard.txt similarity index 100% rename from packagelists/amd64/pg16.16-spock6.0.0-beta1-standard.txt rename to packagelists/amd64/pg16.16-spock6.0.0-beta2-standard.txt diff --git a/packagelists/arm64/pg17.12-spock6.0.0-beta1-minimal.txt b/packagelists/amd64/pg17.12-spock6.0.0-beta2-minimal.txt similarity index 62% rename from packagelists/arm64/pg17.12-spock6.0.0-beta1-minimal.txt rename to packagelists/amd64/pg17.12-spock6.0.0-beta2-minimal.txt index 136d14a..77c983a 100644 --- a/packagelists/arm64/pg17.12-spock6.0.0-beta1-minimal.txt +++ b/packagelists/amd64/pg17.12-spock6.0.0-beta2-minimal.txt @@ -1,3 +1,3 @@ -pgedge-spock60_17-6.0.0-beta1_1.el9 +pgedge-spock60_17-6.0.0-beta2_1.el9 pgedge-snowflake_17-2.6.1-1.el9 pgedge-lolor_17-1.2.3-1.el9 diff --git a/packagelists/amd64/pg17.12-spock6.0.0-beta1-standard.txt b/packagelists/amd64/pg17.12-spock6.0.0-beta2-standard.txt similarity index 100% rename from packagelists/amd64/pg17.12-spock6.0.0-beta1-standard.txt rename to packagelists/amd64/pg17.12-spock6.0.0-beta2-standard.txt diff --git a/packagelists/arm64/pg18.7-spock6.0.0-beta1-minimal.txt b/packagelists/amd64/pg18.7-spock6.0.0-beta2-minimal.txt similarity index 62% rename from packagelists/arm64/pg18.7-spock6.0.0-beta1-minimal.txt rename to packagelists/amd64/pg18.7-spock6.0.0-beta2-minimal.txt index 7d31d5d..76bcc37 100644 --- a/packagelists/arm64/pg18.7-spock6.0.0-beta1-minimal.txt +++ b/packagelists/amd64/pg18.7-spock6.0.0-beta2-minimal.txt @@ -1,3 +1,3 @@ -pgedge-spock60_18-6.0.0-beta1_1.el9 +pgedge-spock60_18-6.0.0-beta2_1.el9 pgedge-snowflake_18-2.6.1-1.el9 pgedge-lolor_18-1.2.3-1.el9 diff --git a/packagelists/amd64/pg18.7-spock6.0.0-beta1-standard.txt b/packagelists/amd64/pg18.7-spock6.0.0-beta2-standard.txt similarity index 100% rename from packagelists/amd64/pg18.7-spock6.0.0-beta1-standard.txt rename to packagelists/amd64/pg18.7-spock6.0.0-beta2-standard.txt diff --git a/packagelists/amd64/pg19.0-spock6.0.0-beta2-minimal.txt b/packagelists/amd64/pg19.0-spock6.0.0-beta2-minimal.txt new file mode 100644 index 0000000..d739f2b --- /dev/null +++ b/packagelists/amd64/pg19.0-spock6.0.0-beta2-minimal.txt @@ -0,0 +1,3 @@ +pgedge-spock60_19-6.0.0-beta2_1.el9 +pgedge-snowflake_19-2.6.1-1.el9 +pgedge-lolor_19-1.2.3-1.el9 diff --git a/packagelists/amd64/pg19.0-spock6.0.0-beta2-standard.txt b/packagelists/amd64/pg19.0-spock6.0.0-beta2-standard.txt new file mode 100644 index 0000000..76e0a96 --- /dev/null +++ b/packagelists/amd64/pg19.0-spock6.0.0-beta2-standard.txt @@ -0,0 +1,13 @@ +pgedge-pgaudit_19-19-rc1_1.el9 +pgedge-postgis36_19-3.6.4-2.el9 +pgedge-pgvector_19-0.8.7-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 +pgedge-python3-psycopg2-2.9.12-1.el9 +pgedge-pgmq_19-1.13.1-1.el9 +pgedge-pg_cron_19-1.6.8-2.el9 +pgedge-pg-vectorize_19-0.27.1-1.el9 +pgedge-pg-stat-monitor_19-2.4.1-1.el9 +pgedge-vectorizer_19-1.1-1.el9 +pgedge-system_stats_19-4.1-1.el9 +pgedge-supautils_19-4.0.0-1.el9 +pgedge-safesession_19-1.1-1.el9 diff --git a/packagelists/arm64/pg16.16-spock6.0.0-beta1-minimal.txt b/packagelists/arm64/pg16.16-spock6.0.0-beta2-minimal.txt similarity index 62% rename from packagelists/arm64/pg16.16-spock6.0.0-beta1-minimal.txt rename to packagelists/arm64/pg16.16-spock6.0.0-beta2-minimal.txt index 4cee139..36aec9b 100644 --- a/packagelists/arm64/pg16.16-spock6.0.0-beta1-minimal.txt +++ b/packagelists/arm64/pg16.16-spock6.0.0-beta2-minimal.txt @@ -1,3 +1,3 @@ -pgedge-spock60_16-6.0.0-beta1_1.el9 +pgedge-spock60_16-6.0.0-beta2_1.el9 pgedge-snowflake_16-2.6.1-1.el9 pgedge-lolor_16-1.2.3-1.el9 diff --git a/packagelists/arm64/pg16.16-spock6.0.0-beta1-standard.txt b/packagelists/arm64/pg16.16-spock6.0.0-beta2-standard.txt similarity index 100% rename from packagelists/arm64/pg16.16-spock6.0.0-beta1-standard.txt rename to packagelists/arm64/pg16.16-spock6.0.0-beta2-standard.txt diff --git a/packagelists/amd64/pg17.12-spock6.0.0-beta1-minimal.txt b/packagelists/arm64/pg17.12-spock6.0.0-beta2-minimal.txt similarity index 62% rename from packagelists/amd64/pg17.12-spock6.0.0-beta1-minimal.txt rename to packagelists/arm64/pg17.12-spock6.0.0-beta2-minimal.txt index 136d14a..77c983a 100644 --- a/packagelists/amd64/pg17.12-spock6.0.0-beta1-minimal.txt +++ b/packagelists/arm64/pg17.12-spock6.0.0-beta2-minimal.txt @@ -1,3 +1,3 @@ -pgedge-spock60_17-6.0.0-beta1_1.el9 +pgedge-spock60_17-6.0.0-beta2_1.el9 pgedge-snowflake_17-2.6.1-1.el9 pgedge-lolor_17-1.2.3-1.el9 diff --git a/packagelists/arm64/pg17.12-spock6.0.0-beta1-standard.txt b/packagelists/arm64/pg17.12-spock6.0.0-beta2-standard.txt similarity index 100% rename from packagelists/arm64/pg17.12-spock6.0.0-beta1-standard.txt rename to packagelists/arm64/pg17.12-spock6.0.0-beta2-standard.txt diff --git a/packagelists/amd64/pg18.7-spock6.0.0-beta1-minimal.txt b/packagelists/arm64/pg18.7-spock6.0.0-beta2-minimal.txt similarity index 62% rename from packagelists/amd64/pg18.7-spock6.0.0-beta1-minimal.txt rename to packagelists/arm64/pg18.7-spock6.0.0-beta2-minimal.txt index 7d31d5d..76bcc37 100644 --- a/packagelists/amd64/pg18.7-spock6.0.0-beta1-minimal.txt +++ b/packagelists/arm64/pg18.7-spock6.0.0-beta2-minimal.txt @@ -1,3 +1,3 @@ -pgedge-spock60_18-6.0.0-beta1_1.el9 +pgedge-spock60_18-6.0.0-beta2_1.el9 pgedge-snowflake_18-2.6.1-1.el9 pgedge-lolor_18-1.2.3-1.el9 diff --git a/packagelists/arm64/pg18.7-spock6.0.0-beta1-standard.txt b/packagelists/arm64/pg18.7-spock6.0.0-beta2-standard.txt similarity index 100% rename from packagelists/arm64/pg18.7-spock6.0.0-beta1-standard.txt rename to packagelists/arm64/pg18.7-spock6.0.0-beta2-standard.txt diff --git a/packagelists/arm64/pg19.0-spock6.0.0-beta2-minimal.txt b/packagelists/arm64/pg19.0-spock6.0.0-beta2-minimal.txt new file mode 100644 index 0000000..d739f2b --- /dev/null +++ b/packagelists/arm64/pg19.0-spock6.0.0-beta2-minimal.txt @@ -0,0 +1,3 @@ +pgedge-spock60_19-6.0.0-beta2_1.el9 +pgedge-snowflake_19-2.6.1-1.el9 +pgedge-lolor_19-1.2.3-1.el9 diff --git a/packagelists/arm64/pg19.0-spock6.0.0-beta2-standard.txt b/packagelists/arm64/pg19.0-spock6.0.0-beta2-standard.txt new file mode 100644 index 0000000..76e0a96 --- /dev/null +++ b/packagelists/arm64/pg19.0-spock6.0.0-beta2-standard.txt @@ -0,0 +1,13 @@ +pgedge-pgaudit_19-19-rc1_1.el9 +pgedge-postgis36_19-3.6.4-2.el9 +pgedge-pgvector_19-0.8.7-1.el9 +pgedge-pgbackrest-2.60.1-1.el9 +pgedge-python3-psycopg2-2.9.12-1.el9 +pgedge-pgmq_19-1.13.1-1.el9 +pgedge-pg_cron_19-1.6.8-2.el9 +pgedge-pg-vectorize_19-0.27.1-1.el9 +pgedge-pg-stat-monitor_19-2.4.1-1.el9 +pgedge-vectorizer_19-1.1-1.el9 +pgedge-system_stats_19-4.1-1.el9 +pgedge-supautils_19-4.0.0-1.el9 +pgedge-safesession_19-1.1-1.el9 diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index e986df1..cf23e4a 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -306,7 +306,7 @@ def make_flavor_images( is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), - # pg19 images. No coldfront or spock 6 line yet: neither has a PG 19 build. + # pg19 images. No coldfront line yet: it has no PG 19 build. *make_flavor_images( postgres_version="19.0", spock_version="5.0.14", @@ -318,27 +318,36 @@ def make_flavor_images( # pg16 spock60 images *make_flavor_images( postgres_version="16.16", - spock_version="6.0.0-beta1", - epochs={"minimal": 1, "standard": 2}, - channels={"standard": "staging"}, + spock_version="6.0.0-beta2", + epochs={"minimal": 1, "standard": 1}, + channels={"minimal": "staging", "standard": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), # pg17 spock60 images *make_flavor_images( postgres_version="17.12", - spock_version="6.0.0-beta1", - epochs={"minimal": 1, "standard": 2}, - channels={"standard": "staging"}, + spock_version="6.0.0-beta2", + epochs={"minimal": 1, "standard": 1}, + channels={"minimal": "staging", "standard": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), # pg18 spock60 images *make_flavor_images( postgres_version="18.7", - spock_version="6.0.0-beta1", - epochs={"minimal": 1, "standard": 2}, - channels={"standard": "staging"}, + spock_version="6.0.0-beta2", + epochs={"minimal": 1, "standard": 1}, + channels={"minimal": "staging", "standard": "staging"}, + is_latest_for_pg_major=True, + is_latest_for_spock_major=True, + ), + # pg19 spock60 images + *make_flavor_images( + postgres_version="19.0", + spock_version="6.0.0-beta2", + epochs={"minimal": 1, "standard": 1}, + channels={"minimal": "staging", "standard": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), From 12fa52aae38c6e78fc97ec2e3e93d3872314fdf2 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Tue, 17 Nov 2026 15:17:27 +0500 Subject: [PATCH 17/23] build: add spock 6 coldfront images for PG 16, 17 and 18 --- CHANGELOG.md | 3 ++- .../amd64/pg16.16-spock6.0.0-beta2-coldfront.txt | 2 ++ .../amd64/pg17.12-spock6.0.0-beta2-coldfront.txt | 2 ++ .../amd64/pg18.7-spock6.0.0-beta2-coldfront.txt | 2 ++ .../arm64/pg16.16-spock6.0.0-beta2-coldfront.txt | 2 ++ .../arm64/pg17.12-spock6.0.0-beta2-coldfront.txt | 2 ++ .../arm64/pg18.7-spock6.0.0-beta2-coldfront.txt | 2 ++ scripts/build_pgedge_images.py | 12 ++++++------ 8 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 packagelists/amd64/pg16.16-spock6.0.0-beta2-coldfront.txt create mode 100644 packagelists/amd64/pg17.12-spock6.0.0-beta2-coldfront.txt create mode 100644 packagelists/amd64/pg18.7-spock6.0.0-beta2-coldfront.txt create mode 100644 packagelists/arm64/pg16.16-spock6.0.0-beta2-coldfront.txt create mode 100644 packagelists/arm64/pg17.12-spock6.0.0-beta2-coldfront.txt create mode 100644 packagelists/arm64/pg18.7-spock6.0.0-beta2-coldfront.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 84b5154..eb7e99e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,8 @@ spock 5 and spock 6. They omit pg_tokenizer and vchord_bm25, which have no PG 19 build yet; the tests covering those extensions are skipped on PG 19 until they ship. No coldfront images for PG 19 yet. -- Upgraded spock 6 images to 6.0.0-beta2 +- Upgraded spock 6 images to 6.0.0-beta2 and added spock 6 coldfront images for + PostgreSQL 16, 17 and 18 - Upgraded pg_stat_monitor to 2.4.1 and pgBackRest to 2.60.1 in standard images - Upgraded ColdFront to 1.0.0-beta3 in coldfront images (Go 1.26.10 and patched dependencies for the bundled archiver, compactor and partitioner binaries) diff --git a/packagelists/amd64/pg16.16-spock6.0.0-beta2-coldfront.txt b/packagelists/amd64/pg16.16-spock6.0.0-beta2-coldfront.txt new file mode 100644 index 0000000..de2e4d6 --- /dev/null +++ b/packagelists/amd64/pg16.16-spock6.0.0-beta2-coldfront.txt @@ -0,0 +1,2 @@ +pgedge-coldfront_16-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/amd64/pg17.12-spock6.0.0-beta2-coldfront.txt b/packagelists/amd64/pg17.12-spock6.0.0-beta2-coldfront.txt new file mode 100644 index 0000000..f726fd1 --- /dev/null +++ b/packagelists/amd64/pg17.12-spock6.0.0-beta2-coldfront.txt @@ -0,0 +1,2 @@ +pgedge-coldfront_17-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/amd64/pg18.7-spock6.0.0-beta2-coldfront.txt b/packagelists/amd64/pg18.7-spock6.0.0-beta2-coldfront.txt new file mode 100644 index 0000000..ebd0b1e --- /dev/null +++ b/packagelists/amd64/pg18.7-spock6.0.0-beta2-coldfront.txt @@ -0,0 +1,2 @@ +pgedge-coldfront_18-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/arm64/pg16.16-spock6.0.0-beta2-coldfront.txt b/packagelists/arm64/pg16.16-spock6.0.0-beta2-coldfront.txt new file mode 100644 index 0000000..de2e4d6 --- /dev/null +++ b/packagelists/arm64/pg16.16-spock6.0.0-beta2-coldfront.txt @@ -0,0 +1,2 @@ +pgedge-coldfront_16-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/arm64/pg17.12-spock6.0.0-beta2-coldfront.txt b/packagelists/arm64/pg17.12-spock6.0.0-beta2-coldfront.txt new file mode 100644 index 0000000..f726fd1 --- /dev/null +++ b/packagelists/arm64/pg17.12-spock6.0.0-beta2-coldfront.txt @@ -0,0 +1,2 @@ +pgedge-coldfront_17-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/packagelists/arm64/pg18.7-spock6.0.0-beta2-coldfront.txt b/packagelists/arm64/pg18.7-spock6.0.0-beta2-coldfront.txt new file mode 100644 index 0000000..ebd0b1e --- /dev/null +++ b/packagelists/arm64/pg18.7-spock6.0.0-beta2-coldfront.txt @@ -0,0 +1,2 @@ +pgedge-coldfront_18-1.0.0-beta3_1.el9 +pgedge-coldfront-1.0.0-beta3_1.el9 diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index cf23e4a..a547ac7 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -319,8 +319,8 @@ def make_flavor_images( *make_flavor_images( postgres_version="16.16", spock_version="6.0.0-beta2", - epochs={"minimal": 1, "standard": 1}, - channels={"minimal": "staging", "standard": "staging"}, + epochs={"minimal": 1, "standard": 1, "coldfront": 1}, + channels={"minimal": "staging", "standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -328,8 +328,8 @@ def make_flavor_images( *make_flavor_images( postgres_version="17.12", spock_version="6.0.0-beta2", - epochs={"minimal": 1, "standard": 1}, - channels={"minimal": "staging", "standard": "staging"}, + epochs={"minimal": 1, "standard": 1, "coldfront": 1}, + channels={"minimal": "staging", "standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -337,8 +337,8 @@ def make_flavor_images( *make_flavor_images( postgres_version="18.7", spock_version="6.0.0-beta2", - epochs={"minimal": 1, "standard": 1}, - channels={"minimal": "staging", "standard": "staging"}, + epochs={"minimal": 1, "standard": 1, "coldfront": 1}, + channels={"minimal": "staging", "standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), From 72c04cf4a443a496e599b14b4ecae1a63071be21 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Tue, 17 Nov 2026 16:55:09 +0500 Subject: [PATCH 18/23] build: bump PG 16-18 postgres and spock 5 minimal images to epoch 2 for OS security fixes --- CHANGELOG.md | 2 ++ scripts/build_pgedge_images.py | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb7e99e..6fc2d48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ spock 5 and spock 6. They omit pg_tokenizer and vchord_bm25, which have no PG 19 build yet; the tests covering those extensions are skipped on PG 19 until they ship. No coldfront images for PG 19 yet. +- Rebuilt the PostgreSQL 16, 17 and 18 postgres and spock 5 minimal images to pick up + OS security fixes (expat, libxml2, krb5, util-linux) - Upgraded spock 6 images to 6.0.0-beta2 and added spock 6 coldfront images for PostgreSQL 16, 17 and 18 - Upgraded pg_stat_monitor to 2.4.1 and pgBackRest to 2.60.1 in standard images diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index a547ac7..75766cf 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -264,15 +264,15 @@ def make_flavor_images( all_images: list[PgEdgeImage] = [ # PostgreSQL-only base, one per major; no spock segment. PgEdgeImage( - postgres_version="16.16", spock_version="", epoch=1, flavor="postgres", + postgres_version="16.16", spock_version="", epoch=2, flavor="postgres", is_latest_for_pg_major=True, ), PgEdgeImage( - postgres_version="17.12", spock_version="", epoch=1, flavor="postgres", + postgres_version="17.12", spock_version="", epoch=2, flavor="postgres", is_latest_for_pg_major=True, ), PgEdgeImage( - postgres_version="18.7", spock_version="", epoch=1, flavor="postgres", + postgres_version="18.7", spock_version="", epoch=2, flavor="postgres", is_latest_for_pg_major=True, ), PgEdgeImage( @@ -283,7 +283,7 @@ def make_flavor_images( *make_flavor_images( postgres_version="16.16", spock_version="5.0.14", - epochs={"minimal": 1, "standard": 2, "coldfront": 2}, + epochs={"minimal": 2, "standard": 2, "coldfront": 2}, channels={"standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, @@ -292,7 +292,7 @@ def make_flavor_images( *make_flavor_images( postgres_version="17.12", spock_version="5.0.14", - epochs={"minimal": 1, "standard": 2, "coldfront": 2}, + epochs={"minimal": 2, "standard": 2, "coldfront": 2}, channels={"standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, @@ -301,7 +301,7 @@ def make_flavor_images( *make_flavor_images( postgres_version="18.7", spock_version="5.0.14", - epochs={"minimal": 1, "standard": 2, "coldfront": 2}, + epochs={"minimal": 2, "standard": 2, "coldfront": 2}, channels={"standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, From 4687d01a036004ad9d5dbd12f0fbe514c458414f Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Tue, 17 Nov 2026 17:49:39 +0500 Subject: [PATCH 19/23] build: upgrade pgaudit to 19.0 in the PG 19 standard images --- packagelists/amd64/pg19.0-spock5.0.14-standard.txt | 2 +- packagelists/amd64/pg19.0-spock6.0.0-beta2-standard.txt | 2 +- packagelists/arm64/pg19.0-spock5.0.14-standard.txt | 2 +- packagelists/arm64/pg19.0-spock6.0.0-beta2-standard.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packagelists/amd64/pg19.0-spock5.0.14-standard.txt b/packagelists/amd64/pg19.0-spock5.0.14-standard.txt index 76e0a96..9da12da 100644 --- a/packagelists/amd64/pg19.0-spock5.0.14-standard.txt +++ b/packagelists/amd64/pg19.0-spock5.0.14-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_19-19-rc1_1.el9 +pgedge-pgaudit_19-19.0-1.el9 pgedge-postgis36_19-3.6.4-2.el9 pgedge-pgvector_19-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/amd64/pg19.0-spock6.0.0-beta2-standard.txt b/packagelists/amd64/pg19.0-spock6.0.0-beta2-standard.txt index 76e0a96..9da12da 100644 --- a/packagelists/amd64/pg19.0-spock6.0.0-beta2-standard.txt +++ b/packagelists/amd64/pg19.0-spock6.0.0-beta2-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_19-19-rc1_1.el9 +pgedge-pgaudit_19-19.0-1.el9 pgedge-postgis36_19-3.6.4-2.el9 pgedge-pgvector_19-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/arm64/pg19.0-spock5.0.14-standard.txt b/packagelists/arm64/pg19.0-spock5.0.14-standard.txt index 76e0a96..9da12da 100644 --- a/packagelists/arm64/pg19.0-spock5.0.14-standard.txt +++ b/packagelists/arm64/pg19.0-spock5.0.14-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_19-19-rc1_1.el9 +pgedge-pgaudit_19-19.0-1.el9 pgedge-postgis36_19-3.6.4-2.el9 pgedge-pgvector_19-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/arm64/pg19.0-spock6.0.0-beta2-standard.txt b/packagelists/arm64/pg19.0-spock6.0.0-beta2-standard.txt index 76e0a96..9da12da 100644 --- a/packagelists/arm64/pg19.0-spock6.0.0-beta2-standard.txt +++ b/packagelists/arm64/pg19.0-spock6.0.0-beta2-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_19-19-rc1_1.el9 +pgedge-pgaudit_19-19.0-1.el9 pgedge-postgis36_19-3.6.4-2.el9 pgedge-pgvector_19-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 From d996c2039e12c1f6d22722663c45d0440d472fed Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Tue, 17 Nov 2026 20:18:50 +0500 Subject: [PATCH 20/23] build: upgrade pgaudit in the PG 16-18 standard images and cover the ownership transfer with postgis_topology --- CHANGELOG.md | 4 +++- .../amd64/pg16.16-spock5.0.14-standard.txt | 2 +- .../amd64/pg16.16-spock6.0.0-beta2-standard.txt | 2 +- .../amd64/pg17.12-spock5.0.14-standard.txt | 2 +- .../amd64/pg17.12-spock6.0.0-beta2-standard.txt | 2 +- .../amd64/pg18.7-spock5.0.14-standard.txt | 2 +- .../amd64/pg18.7-spock6.0.0-beta2-standard.txt | 2 +- .../arm64/pg16.16-spock5.0.14-standard.txt | 2 +- .../arm64/pg16.16-spock6.0.0-beta2-standard.txt | 2 +- .../arm64/pg17.12-spock5.0.14-standard.txt | 2 +- .../arm64/pg17.12-spock6.0.0-beta2-standard.txt | 2 +- .../arm64/pg18.7-spock5.0.14-standard.txt | 2 +- .../arm64/pg18.7-spock6.0.0-beta2-standard.txt | 2 +- scripts/build_pgedge_images.py | 4 ++-- tests/main.go | 16 ++++++++++++++++ 15 files changed, 33 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fc2d48..74e7e9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # pgEdge Postgres Image Changelog -## Unreleased +## 2026-11-17 - Added PostgreSQL 19.0 postgres image, and minimal and standard images for spock 5 and spock 6. They omit pg_tokenizer and vchord_bm25, which have no @@ -11,6 +11,8 @@ - Upgraded spock 6 images to 6.0.0-beta2 and added spock 6 coldfront images for PostgreSQL 16, 17 and 18 - Upgraded pg_stat_monitor to 2.4.1 and pgBackRest to 2.60.1 in standard images +- Upgraded pgAudit to 16.2, 17.2 and 18.1 in the PostgreSQL 16, 17 and 18 + standard images; the PostgreSQL 19 standard images ship pgAudit 19.0 - Upgraded ColdFront to 1.0.0-beta3 in coldfront images (Go 1.26.10 and patched dependencies for the bundled archiver, compactor and partitioner binaries) diff --git a/packagelists/amd64/pg16.16-spock5.0.14-standard.txt b/packagelists/amd64/pg16.16-spock5.0.14-standard.txt index 2293ef0..9d1ff5d 100644 --- a/packagelists/amd64/pg16.16-spock5.0.14-standard.txt +++ b/packagelists/amd64/pg16.16-spock5.0.14-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_16-16.1-1.el9 +pgedge-pgaudit_16-16.2-1.el9 pgedge-postgis36_16-3.6.4-2.el9 pgedge-pgvector_16-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/amd64/pg16.16-spock6.0.0-beta2-standard.txt b/packagelists/amd64/pg16.16-spock6.0.0-beta2-standard.txt index 2293ef0..9d1ff5d 100644 --- a/packagelists/amd64/pg16.16-spock6.0.0-beta2-standard.txt +++ b/packagelists/amd64/pg16.16-spock6.0.0-beta2-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_16-16.1-1.el9 +pgedge-pgaudit_16-16.2-1.el9 pgedge-postgis36_16-3.6.4-2.el9 pgedge-pgvector_16-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/amd64/pg17.12-spock5.0.14-standard.txt b/packagelists/amd64/pg17.12-spock5.0.14-standard.txt index 95be5d1..097145b 100644 --- a/packagelists/amd64/pg17.12-spock5.0.14-standard.txt +++ b/packagelists/amd64/pg17.12-spock5.0.14-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_17-17.1-1.el9 +pgedge-pgaudit_17-17.2-1.el9 pgedge-postgis36_17-3.6.4-2.el9 pgedge-pgvector_17-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/amd64/pg17.12-spock6.0.0-beta2-standard.txt b/packagelists/amd64/pg17.12-spock6.0.0-beta2-standard.txt index 95be5d1..097145b 100644 --- a/packagelists/amd64/pg17.12-spock6.0.0-beta2-standard.txt +++ b/packagelists/amd64/pg17.12-spock6.0.0-beta2-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_17-17.1-1.el9 +pgedge-pgaudit_17-17.2-1.el9 pgedge-postgis36_17-3.6.4-2.el9 pgedge-pgvector_17-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/amd64/pg18.7-spock5.0.14-standard.txt b/packagelists/amd64/pg18.7-spock5.0.14-standard.txt index 9b6f9bd..225407d 100644 --- a/packagelists/amd64/pg18.7-spock5.0.14-standard.txt +++ b/packagelists/amd64/pg18.7-spock5.0.14-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_18-18.0-1.el9 +pgedge-pgaudit_18-18.1-1.el9 pgedge-postgis36_18-3.6.4-2.el9 pgedge-pgvector_18-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/amd64/pg18.7-spock6.0.0-beta2-standard.txt b/packagelists/amd64/pg18.7-spock6.0.0-beta2-standard.txt index 9b6f9bd..225407d 100644 --- a/packagelists/amd64/pg18.7-spock6.0.0-beta2-standard.txt +++ b/packagelists/amd64/pg18.7-spock6.0.0-beta2-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_18-18.0-1.el9 +pgedge-pgaudit_18-18.1-1.el9 pgedge-postgis36_18-3.6.4-2.el9 pgedge-pgvector_18-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/arm64/pg16.16-spock5.0.14-standard.txt b/packagelists/arm64/pg16.16-spock5.0.14-standard.txt index 2293ef0..9d1ff5d 100644 --- a/packagelists/arm64/pg16.16-spock5.0.14-standard.txt +++ b/packagelists/arm64/pg16.16-spock5.0.14-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_16-16.1-1.el9 +pgedge-pgaudit_16-16.2-1.el9 pgedge-postgis36_16-3.6.4-2.el9 pgedge-pgvector_16-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/arm64/pg16.16-spock6.0.0-beta2-standard.txt b/packagelists/arm64/pg16.16-spock6.0.0-beta2-standard.txt index 2293ef0..9d1ff5d 100644 --- a/packagelists/arm64/pg16.16-spock6.0.0-beta2-standard.txt +++ b/packagelists/arm64/pg16.16-spock6.0.0-beta2-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_16-16.1-1.el9 +pgedge-pgaudit_16-16.2-1.el9 pgedge-postgis36_16-3.6.4-2.el9 pgedge-pgvector_16-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/arm64/pg17.12-spock5.0.14-standard.txt b/packagelists/arm64/pg17.12-spock5.0.14-standard.txt index 95be5d1..097145b 100644 --- a/packagelists/arm64/pg17.12-spock5.0.14-standard.txt +++ b/packagelists/arm64/pg17.12-spock5.0.14-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_17-17.1-1.el9 +pgedge-pgaudit_17-17.2-1.el9 pgedge-postgis36_17-3.6.4-2.el9 pgedge-pgvector_17-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/arm64/pg17.12-spock6.0.0-beta2-standard.txt b/packagelists/arm64/pg17.12-spock6.0.0-beta2-standard.txt index 95be5d1..097145b 100644 --- a/packagelists/arm64/pg17.12-spock6.0.0-beta2-standard.txt +++ b/packagelists/arm64/pg17.12-spock6.0.0-beta2-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_17-17.1-1.el9 +pgedge-pgaudit_17-17.2-1.el9 pgedge-postgis36_17-3.6.4-2.el9 pgedge-pgvector_17-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/arm64/pg18.7-spock5.0.14-standard.txt b/packagelists/arm64/pg18.7-spock5.0.14-standard.txt index 9b6f9bd..225407d 100644 --- a/packagelists/arm64/pg18.7-spock5.0.14-standard.txt +++ b/packagelists/arm64/pg18.7-spock5.0.14-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_18-18.0-1.el9 +pgedge-pgaudit_18-18.1-1.el9 pgedge-postgis36_18-3.6.4-2.el9 pgedge-pgvector_18-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/packagelists/arm64/pg18.7-spock6.0.0-beta2-standard.txt b/packagelists/arm64/pg18.7-spock6.0.0-beta2-standard.txt index 9b6f9bd..225407d 100644 --- a/packagelists/arm64/pg18.7-spock6.0.0-beta2-standard.txt +++ b/packagelists/arm64/pg18.7-spock6.0.0-beta2-standard.txt @@ -1,4 +1,4 @@ -pgedge-pgaudit_18-18.0-1.el9 +pgedge-pgaudit_18-18.1-1.el9 pgedge-postgis36_18-3.6.4-2.el9 pgedge-pgvector_18-0.8.7-1.el9 pgedge-pgbackrest-2.60.1-1.el9 diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index 75766cf..cfa44bb 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -95,8 +95,8 @@ class PgEdgeImage: @property def postgres_major(self) -> str: - # Leading digits, so a pre-release version like "19-rc1" still yields - # the major the packages and paths use. + # Leading digits, so a pre-release version (e.g. "20-beta1") still + # yields the major the packages and paths use. return re.match(r"\d+", self.postgres_version).group() @property diff --git a/tests/main.go b/tests/main.go index 495955d..60dce13 100644 --- a/tests/main.go +++ b/tests/main.go @@ -1842,5 +1842,21 @@ func getExtensionCustomScriptsTests() []Test { ExpectedOutput: expectFailureContaining("permission denied for function create_tokenizer"), TokenizerBM25Only: true, }, + { + // The same transfer checked through postgis_topology, which + // every standard image ships, so a major without pg_tokenizer + // still covers it. CreateTopology() runs as the caller and + // writes topology.topology through the after-create.sql grant. + Name: "new owner inherits the postgis_topology grants after-create.sql gave pg_database_owner", + StandardOnly: true, + Cmd: "psql -U new_owner_role -d testdb -t -A -c \"SELECT topology.CreateTopology('probe_reassigned_topo', 4326); SELECT topology.DropTopology('probe_reassigned_topo');\"", + ExpectedOutput: expectSuccess, + }, + { + Name: "former owner loses the postgis_topology grants after-create.sql gave pg_database_owner", + StandardOnly: true, + Cmd: "psql -U gate_test_role -d testdb -t -A -c \"INSERT INTO topology.topology (name, srid, precision, hasz) VALUES ('probe_former_owner', 4326, 0, false);\"", + ExpectedOutput: expectFailureContaining("permission denied for table topology"), + }, } } From 948beb909b3f625b514fdc03ec6b40b64104d167 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Wed, 18 Nov 2026 14:36:07 +0500 Subject: [PATCH 21/23] build: upgrade ColdFront to 1.0.0-beta4 in the coldfront images --- CHANGELOG.md | 3 +-- packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt | 4 ++-- packagelists/amd64/pg16.16-spock6.0.0-beta2-coldfront.txt | 4 ++-- packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt | 4 ++-- packagelists/amd64/pg17.12-spock6.0.0-beta2-coldfront.txt | 4 ++-- packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt | 4 ++-- packagelists/amd64/pg18.7-spock6.0.0-beta2-coldfront.txt | 4 ++-- packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt | 4 ++-- packagelists/arm64/pg16.16-spock6.0.0-beta2-coldfront.txt | 4 ++-- packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt | 4 ++-- packagelists/arm64/pg17.12-spock6.0.0-beta2-coldfront.txt | 4 ++-- packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt | 4 ++-- packagelists/arm64/pg18.7-spock6.0.0-beta2-coldfront.txt | 4 ++-- 13 files changed, 25 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 74e7e9d..18e1223 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,8 +13,7 @@ - Upgraded pg_stat_monitor to 2.4.1 and pgBackRest to 2.60.1 in standard images - Upgraded pgAudit to 16.2, 17.2 and 18.1 in the PostgreSQL 16, 17 and 18 standard images; the PostgreSQL 19 standard images ship pgAudit 19.0 -- Upgraded ColdFront to 1.0.0-beta3 in coldfront images (Go 1.26.10 and patched - dependencies for the bundled archiver, compactor and partitioner binaries) +- Upgraded ColdFront to 1.0.0-beta4 in coldfront images ## 2026-11-10 diff --git a/packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt b/packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt index de2e4d6..7661092 100644 --- a/packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt +++ b/packagelists/amd64/pg16.16-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_16-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_16-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/amd64/pg16.16-spock6.0.0-beta2-coldfront.txt b/packagelists/amd64/pg16.16-spock6.0.0-beta2-coldfront.txt index de2e4d6..7661092 100644 --- a/packagelists/amd64/pg16.16-spock6.0.0-beta2-coldfront.txt +++ b/packagelists/amd64/pg16.16-spock6.0.0-beta2-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_16-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_16-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt b/packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt index f726fd1..aacfe6f 100644 --- a/packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt +++ b/packagelists/amd64/pg17.12-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_17-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_17-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/amd64/pg17.12-spock6.0.0-beta2-coldfront.txt b/packagelists/amd64/pg17.12-spock6.0.0-beta2-coldfront.txt index f726fd1..aacfe6f 100644 --- a/packagelists/amd64/pg17.12-spock6.0.0-beta2-coldfront.txt +++ b/packagelists/amd64/pg17.12-spock6.0.0-beta2-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_17-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_17-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt b/packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt index ebd0b1e..62bbee2 100644 --- a/packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt +++ b/packagelists/amd64/pg18.7-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_18-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_18-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/amd64/pg18.7-spock6.0.0-beta2-coldfront.txt b/packagelists/amd64/pg18.7-spock6.0.0-beta2-coldfront.txt index ebd0b1e..62bbee2 100644 --- a/packagelists/amd64/pg18.7-spock6.0.0-beta2-coldfront.txt +++ b/packagelists/amd64/pg18.7-spock6.0.0-beta2-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_18-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_18-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt b/packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt index de2e4d6..7661092 100644 --- a/packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt +++ b/packagelists/arm64/pg16.16-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_16-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_16-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/arm64/pg16.16-spock6.0.0-beta2-coldfront.txt b/packagelists/arm64/pg16.16-spock6.0.0-beta2-coldfront.txt index de2e4d6..7661092 100644 --- a/packagelists/arm64/pg16.16-spock6.0.0-beta2-coldfront.txt +++ b/packagelists/arm64/pg16.16-spock6.0.0-beta2-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_16-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_16-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt b/packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt index f726fd1..aacfe6f 100644 --- a/packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt +++ b/packagelists/arm64/pg17.12-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_17-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_17-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/arm64/pg17.12-spock6.0.0-beta2-coldfront.txt b/packagelists/arm64/pg17.12-spock6.0.0-beta2-coldfront.txt index f726fd1..aacfe6f 100644 --- a/packagelists/arm64/pg17.12-spock6.0.0-beta2-coldfront.txt +++ b/packagelists/arm64/pg17.12-spock6.0.0-beta2-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_17-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_17-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt b/packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt index ebd0b1e..62bbee2 100644 --- a/packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt +++ b/packagelists/arm64/pg18.7-spock5.0.14-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_18-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_18-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 diff --git a/packagelists/arm64/pg18.7-spock6.0.0-beta2-coldfront.txt b/packagelists/arm64/pg18.7-spock6.0.0-beta2-coldfront.txt index ebd0b1e..62bbee2 100644 --- a/packagelists/arm64/pg18.7-spock6.0.0-beta2-coldfront.txt +++ b/packagelists/arm64/pg18.7-spock6.0.0-beta2-coldfront.txt @@ -1,2 +1,2 @@ -pgedge-coldfront_18-1.0.0-beta3_1.el9 -pgedge-coldfront-1.0.0-beta3_1.el9 +pgedge-coldfront_18-1.0.0-beta4_1.el9 +pgedge-coldfront-1.0.0-beta4_1.el9 From a66f5a7f8581aea83570dd274e22a55b1327116b Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Wed, 18 Nov 2026 15:51:52 +0500 Subject: [PATCH 22/23] test: check that only the new owner holds the postgis_topology write grants --- tests/main.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/main.go b/tests/main.go index 60dce13..5f00206 100644 --- a/tests/main.go +++ b/tests/main.go @@ -1858,5 +1858,20 @@ func getExtensionCustomScriptsTests() []Test { Cmd: "psql -U gate_test_role -d testdb -t -A -c \"INSERT INTO topology.topology (name, srid, precision, hasz) VALUES ('probe_former_owner', 4326, 0, false);\"", ExpectedOutput: expectFailureContaining("permission denied for table topology"), }, + { + // The INSERT probe above cannot see a stale UPDATE or DELETE + // grant left on the former owner, so list every write privilege + // after-create.sql grants and check who holds each one. SELECT + // is left out: postgis_topology grants it to PUBLIC itself. + Name: "only the new owner holds the postgis_topology write grants after-create.sql gave pg_database_owner", + StandardOnly: true, + Cmd: "psql -U postgres -d testdb -t -A -c \"" + topologyWriteGrantsQuery + "\"", + ExpectedOutput: expectTrimmed("new_owner_role:topology.layer:DELETE,new_owner_role:topology.layer:INSERT,new_owner_role:topology.layer:UPDATE,new_owner_role:topology.topology:DELETE,new_owner_role:topology.topology:INSERT,new_owner_role:topology.topology:UPDATE,new_owner_role:topology.topology_id_seq:USAGE"), + }, } } + +// topologyWriteGrantsQuery lists role:object:privilege for every write +// privilege postgis_topology's after-create.sql grants, held by either the +// new or the former owner of testdb. +const topologyWriteGrantsQuery = `SELECT string_agg(r || ':' || o || ':' || p, ',' ORDER BY r, o, p) FROM unnest(ARRAY['new_owner_role', 'gate_test_role']) AS rr(r) CROSS JOIN LATERAL (SELECT o, p FROM unnest(ARRAY['topology.topology', 'topology.layer']) o, unnest(ARRAY['INSERT', 'UPDATE', 'DELETE']) p WHERE has_table_privilege(r, o, p) UNION ALL SELECT 'topology.topology_id_seq', 'USAGE' WHERE has_sequence_privilege(r, 'topology.topology_id_seq', 'USAGE')) g` From 3b52fa3ba64452c0bec915c11c68eca9fe5bc6f5 Mon Sep 17 00:00:00 2001 From: Muhammad Aqeel Date: Thu, 19 Nov 2026 15:19:50 +0500 Subject: [PATCH 23/23] build: build all images from the release channel instead of staging --- scripts/build_pgedge_images.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/build_pgedge_images.py b/scripts/build_pgedge_images.py index cfa44bb..0c21a8c 100755 --- a/scripts/build_pgedge_images.py +++ b/scripts/build_pgedge_images.py @@ -277,14 +277,13 @@ def make_flavor_images( ), PgEdgeImage( postgres_version="19.0", spock_version="", epoch=1, flavor="postgres", - is_latest_for_pg_major=True, package_release_channel="staging", + is_latest_for_pg_major=True, ), # pg16 images *make_flavor_images( postgres_version="16.16", spock_version="5.0.14", epochs={"minimal": 2, "standard": 2, "coldfront": 2}, - channels={"standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -293,7 +292,6 @@ def make_flavor_images( postgres_version="17.12", spock_version="5.0.14", epochs={"minimal": 2, "standard": 2, "coldfront": 2}, - channels={"standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -302,7 +300,6 @@ def make_flavor_images( postgres_version="18.7", spock_version="5.0.14", epochs={"minimal": 2, "standard": 2, "coldfront": 2}, - channels={"standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -311,7 +308,6 @@ def make_flavor_images( postgres_version="19.0", spock_version="5.0.14", epochs={"minimal": 1, "standard": 1}, - channels={"minimal": "staging", "standard": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -320,7 +316,6 @@ def make_flavor_images( postgres_version="16.16", spock_version="6.0.0-beta2", epochs={"minimal": 1, "standard": 1, "coldfront": 1}, - channels={"minimal": "staging", "standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -329,7 +324,6 @@ def make_flavor_images( postgres_version="17.12", spock_version="6.0.0-beta2", epochs={"minimal": 1, "standard": 1, "coldfront": 1}, - channels={"minimal": "staging", "standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -338,7 +332,6 @@ def make_flavor_images( postgres_version="18.7", spock_version="6.0.0-beta2", epochs={"minimal": 1, "standard": 1, "coldfront": 1}, - channels={"minimal": "staging", "standard": "staging", "coldfront": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ), @@ -347,7 +340,6 @@ def make_flavor_images( postgres_version="19.0", spock_version="6.0.0-beta2", epochs={"minimal": 1, "standard": 1}, - channels={"minimal": "staging", "standard": "staging"}, is_latest_for_pg_major=True, is_latest_for_spock_major=True, ),