chore: use postgres 17 (#10797)

# Which Problems Are Solved

The current cache interface implementation for postgres is not
compatible with Postgres18, since we rely on partitioned unlogged
tables, which are no longer supported.

# How the Problems Are Solved

Use postgres 17 and update compatibility in the docs.

# Additional Changes

None

# Additional Context

- requires backport to v3.x, v4.x
This commit is contained in:
Livio Spring
2025-09-26 08:59:18 +02:00
committed by GitHub
parent bb9e557760
commit f7fbd0cdfd
3 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ jobs:
group: zitadel-public
services:
postgres:
image: postgres
image: postgres:17
ports:
- 5432:5432
env:

View File

@@ -2,9 +2,9 @@
PostgreSQL is the default database for ZITADEL due to its reliability, robustness, and adherence to SQL standards. It is well-suited for handling the complex data requirements of an identity management system.
If you are using Zitadel v2 and want to use a PostgreSQL database you can [overwrite the default configuration](../configure/configure.mdx).
If you are using Zitadel v2 and want to use a PostgreSQL database, you can [overwrite the default configuration](../configure/configure.mdx).
Currently versions >= 14 are supported.
Currently, versions 14 to 17 are supported.
Postgres can be configured as follows:
```yaml

View File

@@ -3,7 +3,7 @@ version: '3.8'
services:
postgres:
restart: 'always'
image: 'postgres:latest'
image: 'postgres:17'
environment:
- POSTGRES_USER=zitadel
- PGUSER=zitadel