Add postgres 18

This commit is contained in:
eelke 2026-10-18 12:46:38 +02:00
parent a1ac545086
commit 6683e8644b
2 changed files with 3 additions and 2 deletions

View file

@ -33,7 +33,7 @@ if (PGLAB_INTEGRATION_TESTS)
set_tests_properties(db_up PROPERTIES FIXTURES_SETUP pgcluster LABELS integration) set_tests_properties(db_up PROPERTIES FIXTURES_SETUP pgcluster LABELS integration)
set_tests_properties(db_down PROPERTIES FIXTURES_CLEANUP pgcluster LABELS integration) set_tests_properties(db_down PROPERTIES FIXTURES_CLEANUP pgcluster LABELS integration)
foreach (v 14 15 16 17) foreach (v 14 15 16 17 18)
add_test(NAME integration_pg${v} COMMAND IntegrationTests) add_test(NAME integration_pg${v} COMMAND IntegrationTests)
set_tests_properties(integration_pg${v} PROPERTIES set_tests_properties(integration_pg${v} PROPERTIES
FIXTURES_REQUIRED pgcluster FIXTURES_REQUIRED pgcluster

View file

@ -1,6 +1,6 @@
x-pg: &pg x-pg: &pg
environment: { POSTGRES_PASSWORD: test } environment: { POSTGRES_PASSWORD: test }
tmpfs: [/var/lib/postgresql/data] tmpfs: [/var/lib/postgresql]
command: > command: >
postgres -c fsync=off -c synchronous_commit=off postgres -c fsync=off -c synchronous_commit=off
-c full_page_writes=off -c max_connections=200 -c full_page_writes=off -c max_connections=200
@ -14,3 +14,4 @@ services:
pg15: { <<: *pg, image: "postgres:15", ports: ["54315:5432"] } pg15: { <<: *pg, image: "postgres:15", ports: ["54315:5432"] }
pg16: { <<: *pg, image: "postgres:16", ports: ["54316:5432"] } pg16: { <<: *pg, image: "postgres:16", ports: ["54316:5432"] }
pg17: { <<: *pg, image: "postgres:17", ports: ["54317:5432"] } pg17: { <<: *pg, image: "postgres:17", ports: ["54317:5432"] }
pg18: { <<: *pg, image: "postgres:18", ports: ["54318:5432"] }