Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packagelists/amd64/pg16.14-spock5.0.10-minimal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pgedge-postgresql16-16.14-2.el9
pgedge-spock50_16-5.0.10-1.el9
pgedge-snowflake_16-2.5.0-1.el9
pgedge-lolor_16-1.2.2-1.el9
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pgedge-postgresql16-16.14-2.el9
pgedge-spock50_16-5.0.9-1.el9
pgedge-snowflake_16-2.4-1.el9
pgedge-spock50_16-5.0.10-1.el9
pgedge-snowflake_16-2.5.0-1.el9
pgedge-lolor_16-1.2.2-1.el9
pgedge-pgaudit_16-16.1-1.el9
pgedge-postgis35_16-3.5.5-1.el9
Expand All @@ -15,3 +15,4 @@ pgedge-pg-stat-monitor_16-2.3.0-1.el9
pgedge-vchord-bm25_16-0.2.2-1.el9
pgedge-vectorizer_16-1.0-1.el9
pgedge-system_stats_16-3.2.1-1.el9
pgedge-supautils_16-3.2.2-1.el9
4 changes: 0 additions & 4 deletions packagelists/amd64/pg16.14-spock5.0.9-minimal.txt

This file was deleted.

4 changes: 4 additions & 0 deletions packagelists/amd64/pg17.10-spock5.0.10-minimal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pgedge-postgresql17-17.10-2.el9
pgedge-spock50_17-5.0.10-1.el9
pgedge-snowflake_17-2.5.0-1.el9
pgedge-lolor_17-1.2.2-1.el9
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pgedge-postgresql17-17.10-2.el9
pgedge-spock50_17-5.0.9-1.el9
pgedge-snowflake_17-2.4-1.el9
pgedge-spock50_17-5.0.10-1.el9
pgedge-snowflake_17-2.5.0-1.el9
pgedge-lolor_17-1.2.2-1.el9
pgedge-pgaudit_17-17.1-1.el9
pgedge-postgis35_17-3.5.5-1.el9
Expand All @@ -15,3 +15,4 @@ pgedge-pg-stat-monitor_17-2.3.0-1.el9
pgedge-vchord-bm25_17-0.2.2-1.el9
pgedge-vectorizer_17-1.0-1.el9
pgedge-system_stats_17-3.2.1-1.el9
pgedge-supautils_17-3.2.2-1.el9
4 changes: 0 additions & 4 deletions packagelists/amd64/pg17.10-spock5.0.9-minimal.txt

This file was deleted.

4 changes: 4 additions & 0 deletions packagelists/amd64/pg18.4-spock5.0.10-minimal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pgedge-postgresql18-18.4-2.el9
pgedge-spock50_18-5.0.10-1.el9
pgedge-snowflake_18-2.5.0-1.el9
pgedge-lolor_18-1.2.2-1.el9
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pgedge-postgresql18-18.4-2.el9
pgedge-spock50_18-5.0.9-1.el9
pgedge-snowflake_18-2.4-1.el9
pgedge-spock50_18-5.0.10-1.el9
pgedge-snowflake_18-2.5.0-1.el9
pgedge-lolor_18-1.2.2-1.el9
pgedge-pgaudit_18-18.0-1.el9
pgedge-postgis35_18-3.5.5-1.el9
Expand All @@ -15,3 +15,4 @@ pgedge-pg-stat-monitor_18-2.3.0-1.el9
pgedge-vchord-bm25_18-0.2.2-1.el9
pgedge-vectorizer_18-1.0-1.el9
pgedge-system_stats_18-3.2.1-1.el9
pgedge-supautils_18-3.2.2-1.el9
4 changes: 0 additions & 4 deletions packagelists/amd64/pg18.4-spock5.0.9-minimal.txt

This file was deleted.

4 changes: 4 additions & 0 deletions packagelists/arm64/pg16.14-spock5.0.10-minimal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pgedge-postgresql16-16.14-2.el9
pgedge-spock50_16-5.0.10-1.el9
pgedge-snowflake_16-2.5.0-1.el9
Comment thread
coderabbitai[bot] marked this conversation as resolved.
pgedge-lolor_16-1.2.2-1.el9
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pgedge-postgresql16-16.14-2.el9
pgedge-spock50_16-5.0.9-1.el9
pgedge-snowflake_16-2.4-1.el9
pgedge-spock50_16-5.0.10-1.el9
pgedge-snowflake_16-2.5.0-1.el9
pgedge-lolor_16-1.2.2-1.el9
pgedge-pgaudit_16-16.1-1.el9
pgedge-postgis35_16-3.5.5-1.el9
Expand All @@ -15,3 +15,4 @@ pgedge-pg-stat-monitor_16-2.3.0-1.el9
pgedge-vchord-bm25_16-0.2.2-1.el9
pgedge-vectorizer_16-1.0-1.el9
pgedge-system_stats_16-3.2.1-1.el9
pgedge-supautils_16-3.2.2-1.el9
4 changes: 0 additions & 4 deletions packagelists/arm64/pg16.14-spock5.0.9-minimal.txt

This file was deleted.

4 changes: 4 additions & 0 deletions packagelists/arm64/pg17.10-spock5.0.10-minimal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pgedge-postgresql17-17.10-2.el9
pgedge-spock50_17-5.0.10-1.el9
pgedge-snowflake_17-2.5.0-1.el9
pgedge-lolor_17-1.2.2-1.el9
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pgedge-postgresql17-17.10-2.el9
pgedge-spock50_17-5.0.9-1.el9
pgedge-snowflake_17-2.4-1.el9
pgedge-spock50_17-5.0.10-1.el9
pgedge-snowflake_17-2.5.0-1.el9
pgedge-lolor_17-1.2.2-1.el9
pgedge-pgaudit_17-17.1-1.el9
pgedge-postgis35_17-3.5.5-1.el9
Expand All @@ -15,3 +15,4 @@ pgedge-pg-stat-monitor_17-2.3.0-1.el9
pgedge-vchord-bm25_17-0.2.2-1.el9
pgedge-vectorizer_17-1.0-1.el9
pgedge-system_stats_17-3.2.1-1.el9
pgedge-supautils_17-3.2.2-1.el9
4 changes: 0 additions & 4 deletions packagelists/arm64/pg17.10-spock5.0.9-minimal.txt

This file was deleted.

4 changes: 4 additions & 0 deletions packagelists/arm64/pg18.4-spock5.0.10-minimal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pgedge-postgresql18-18.4-2.el9
pgedge-spock50_18-5.0.10-1.el9
pgedge-snowflake_18-2.5.0-1.el9
pgedge-lolor_18-1.2.2-1.el9
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pgedge-postgresql18-18.4-2.el9
pgedge-spock50_18-5.0.9-1.el9
pgedge-snowflake_18-2.4-1.el9
pgedge-spock50_18-5.0.10-1.el9
pgedge-snowflake_18-2.5.0-1.el9
pgedge-lolor_18-1.2.2-1.el9
pgedge-pgaudit_18-18.0-1.el9
pgedge-postgis35_18-3.5.5-1.el9
Expand All @@ -15,3 +15,4 @@ pgedge-pg-stat-monitor_18-2.3.0-1.el9
pgedge-vchord-bm25_18-0.2.2-1.el9
pgedge-vectorizer_18-1.0-1.el9
pgedge-system_stats_18-3.2.1-1.el9
pgedge-supautils_18-3.2.2-1.el9
4 changes: 0 additions & 4 deletions packagelists/arm64/pg18.4-spock5.0.9-minimal.txt

This file was deleted.

6 changes: 3 additions & 3 deletions scripts/build_pgedge_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,23 +162,23 @@ def make_all_flavor_images(
# pg16 images
*make_all_flavor_images(
postgres_version="16.14",
spock_version="5.0.9",
spock_version="5.0.10",
epoch=1,
is_latest_for_pg_major=True,
is_latest_for_spock_major=True,
),
# pg17 images
*make_all_flavor_images(
postgres_version="17.10",
spock_version="5.0.9",
spock_version="5.0.10",
epoch=1,
is_latest_for_pg_major=True,
is_latest_for_spock_major=True,
),
# pg18 images
*make_all_flavor_images(
postgres_version="18.4",
spock_version="5.0.9",
spock_version="5.0.10",
epoch=1,
is_latest_for_pg_major=True,
is_latest_for_spock_major=True,
Expand Down
38 changes: 36 additions & 2 deletions tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func (r *TestRunner) Start() error {
// Note: We only include extensions that are guaranteed to be in all images
sharedLibs := "spock,snowflake"
if r.flavor == "standard" {
sharedLibs = "spock,snowflake,pgaudit"
sharedLibs = "spock,snowflake,pgaudit,supautils"
}

// Build postgres command with required configuration
Expand Down Expand Up @@ -724,7 +724,41 @@ func getCommonExtensionTests() []Test {
}

func getStandardOnlyTests() []Test {
return append(getSystemStatsAndVectorTests(), getPostGISAuditBackrestTests()...)
tests := append(getSystemStatsAndVectorTests(), getPostGISAuditBackrestTests()...)
return append(tests, getSupautilsTests()...)
}

func getSupautilsTests() []Test {
return []Test{
{
// supautils is a shared_preload_libraries-only module (no CREATE EXTENSION,
// no SQL functions/views). Its only SQL-visible evidence of a successful
// load is the GUCs it registers in _PG_init, so we assert those exist in
// pg_settings. This query never raises, returning 't' only when the
// library was actually preloaded and initialized.
Name: "supautils is preloaded",
StandardOnly: true,
Cmd: "psql -U postgres -d testdb -t -A -c \"SELECT EXISTS (SELECT 1 FROM pg_settings WHERE name LIKE 'supautils.%');\"",
ExpectedOutput: func(exitCode int, output string) error {
if exitCode != 0 {
return fmt.Errorf("unexpected exit code: %d", exitCode)
}
if strings.TrimSpace(output) != "t" {
return fmt.Errorf("unexpected output: %s (expected 't')", output)
}
return nil
},
},
{
// A registered GUC is readable via SHOW. If supautils were not loaded this
// errors with 'unrecognized configuration parameter', so a clean exit
// confirms the library registered its settings.
Name: "supautils GUC is accessible",
StandardOnly: true,
Cmd: "psql -U postgres -d testdb -t -A -c \"SHOW supautils.reserved_roles;\"",
ExpectedOutput: expectSuccess,
},
}
}

func getSystemStatsAndVectorTests() []Test {
Expand Down
Loading