Skip to content

Commit 7e3043a

Browse files
committed
test(postgres): run tests with PostgreSQL 17
Add PostgreSQL 17, remove PostgreSQL 12 (EOL since November 21, 2024). https://www.postgresql.org/support/versioning/
1 parent c378583 commit 7e3043a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

database/pgx/pgx_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ var (
3434
PortRequired: true, ReadyFunc: isReady}
3535
// Supported versions: https://www.postgresql.org/support/versioning/
3636
specs = []dktesting.ContainerSpec{
37-
{ImageName: "postgres:12", Options: opts},
3837
{ImageName: "postgres:13", Options: opts},
3938
{ImageName: "postgres:14", Options: opts},
4039
{ImageName: "postgres:15", Options: opts},
4140
{ImageName: "postgres:16", Options: opts},
41+
{ImageName: "postgres:17", Options: opts},
4242
}
4343
)
4444

database/pgx/v5/pgx_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ var (
3535
PortRequired: true, ReadyFunc: isReady}
3636
// Supported versions: https://www.postgresql.org/support/versioning/
3737
specs = []dktesting.ContainerSpec{
38-
{ImageName: "postgres:12", Options: opts},
3938
{ImageName: "postgres:13", Options: opts},
4039
{ImageName: "postgres:14", Options: opts},
4140
{ImageName: "postgres:15", Options: opts},
4241
{ImageName: "postgres:16", Options: opts},
42+
{ImageName: "postgres:17", Options: opts},
4343
}
4444
)
4545

database/postgres/postgres_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ var (
3535
PortRequired: true, ReadyFunc: isReady}
3636
// Supported versions: https://www.postgresql.org/support/versioning/
3737
specs = []dktesting.ContainerSpec{
38-
{ImageName: "postgres:12", Options: opts},
3938
{ImageName: "postgres:13", Options: opts},
4039
{ImageName: "postgres:14", Options: opts},
4140
{ImageName: "postgres:15", Options: opts},
4241
{ImageName: "postgres:16", Options: opts},
42+
{ImageName: "postgres:17", Options: opts},
4343
}
4444
)
4545

0 commit comments

Comments
 (0)