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
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ private static class PostgresqlReferenceDriver
PostgresqlReferenceDriver()
{
// Use the current latest PostgreSQL version as the reference
postgresqlContainer = new PostgreSQLContainer<>("postgres:12.4");
postgresqlContainer = new PostgreSQLContainer<>("postgres:15");
postgresqlContainer.start();
}

Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/sphinx/connector/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ PostgreSQL instances.

To connect to PostgreSQL, you need:

- PostgreSQL 10.x or higher.
- PostgreSQL 11.x or higher.
- Network access from the Trino coordinator and workers to PostgreSQL.
Port 5432 is the default port.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public TestingPostgreSqlServer()
public TestingPostgreSqlServer(boolean shouldExposeFixedPorts)
{
// Use the oldest supported PostgreSQL version
dockerContainer = new PostgreSQLContainer<>("postgres:10.20")
dockerContainer = new PostgreSQLContainer<>("postgres:11")
.withStartupAttempts(3)
.withDatabaseName(DATABASE)
.withUsername(USER)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class TestDbResourceGroupsPostgresqlFlywayMigration
@Override
protected final JdbcDatabaseContainer<?> startContainer()
{
JdbcDatabaseContainer<?> container = new PostgreSQLContainer<>("postgres:10.20");
JdbcDatabaseContainer<?> container = new PostgreSQLContainer<>("postgres:11");
container.start();
return container;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void extendEnvironment(Environment.Builder builder)
private DockerContainer createPostgreSql()
{
// Use the oldest supported PostgreSQL version
DockerContainer container = new DockerContainer("postgres:10.20", "postgresql")
DockerContainer container = new DockerContainer("postgres:11", "postgresql")
.withEnv("POSTGRES_PASSWORD", "test")
.withEnv("POSTGRES_USER", "test")
.withEnv("POSTGRES_DB", "test")
Expand Down