Skip to content

Commit dbfad40

Browse files
committed
Bump PostgreSQL version used in tests: 17.2 → 17.5
1 parent 2142bd3 commit dbfad40

22 files changed

+45
-43
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class SchemaTest implements JUnit5ValidationFileAssertions {
8888
8989
@Container
9090
@ServiceConnection
91-
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17.2");
91+
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17.5");
9292
9393
@Test
9494
void schemaExport() {

data/test/validation/PostgresDumpTest/DatabaseWithData/testCleanAndCreate.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
6-
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
5+
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
6+
-- Dumped by pg_dump version 17.5 (Debian 17.5-1.pgdg120+1)
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;
@@ -27,6 +27,7 @@ CREATE DATABASE "test-db" WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PRO
2727

2828
ALTER DATABASE "test-db" OWNER TO "test-user";
2929

30+
\encoding SQL_ASCII
3031
\connect -reuse-previous=on "dbname='test-db'"
3132

3233
SET statement_timeout = 0;

data/test/validation/PostgresDumpTest/DatabaseWithData/testCleanAndCreateIfExists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
6-
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
5+
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
6+
-- Dumped by pg_dump version 17.5 (Debian 17.5-1.pgdg120+1)
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;
@@ -27,6 +27,7 @@ CREATE DATABASE "test-db" WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PRO
2727

2828
ALTER DATABASE "test-db" OWNER TO "test-user";
2929

30+
\encoding SQL_ASCII
3031
\connect -reuse-previous=on "dbname='test-db'"
3132

3233
SET statement_timeout = 0;

data/test/validation/PostgresDumpTest/DatabaseWithData/testConnectViaHostName.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
6-
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
5+
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
6+
-- Dumped by pg_dump version 17.5 (Debian 17.5-1.pgdg120+1)
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;

data/test/validation/PostgresDumpTest/DatabaseWithData/testDataOnly.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
6-
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
5+
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
6+
-- Dumped by pg_dump version 17.5 (Debian 17.5-1.pgdg120+1)
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;

data/test/validation/PostgresDumpTest/DatabaseWithData/testDump.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
6-
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
5+
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
6+
-- Dumped by pg_dump version 17.5 (Debian 17.5-1.pgdg120+1)
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;

data/test/validation/PostgresDumpTest/DatabaseWithData/testDumpExcludingTableData.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
6-
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
5+
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
6+
-- Dumped by pg_dump version 17.5 (Debian 17.5-1.pgdg120+1)
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;

data/test/validation/PostgresDumpTest/DatabaseWithData/testDumpSpecificSchemaOnly.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
6-
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
5+
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
6+
-- Dumped by pg_dump version 17.5 (Debian 17.5-1.pgdg120+1)
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;

data/test/validation/PostgresDumpTest/DatabaseWithData/testDumpToFileExcludingTableData.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
6-
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
5+
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
6+
-- Dumped by pg_dump version 17.5 (Debian 17.5-1.pgdg120+1)
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;

data/test/validation/PostgresDumpTest/DatabaseWithData/testDumpVerbose.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 17.2 (Debian 17.2-1.pgdg120+1)
6-
-- Dumped by pg_dump version 17.2 (Debian 17.2-1.pgdg120+1)
5+
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
6+
-- Dumped by pg_dump version 17.5 (Debian 17.5-1.pgdg120+1)
77

88
-- Started on [MASKED_TIMESTAMP] UTC
99

0 commit comments

Comments
 (0)