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 06:59:18 +00:00
committed by GitHub
parent bb9e557760
commit f7fbd0cdfd
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
group: zitadel-public group: zitadel-public
services: services:
postgres: postgres:
image: postgres image: postgres:17
ports: ports:
- 5432:5432 - 5432:5432
env: env:
@@ -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. 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: Postgres can be configured as follows:
```yaml ```yaml
@@ -3,7 +3,7 @@ version: '3.8'
services: services:
postgres: postgres:
restart: 'always' restart: 'always'
image: 'postgres:latest' image: 'postgres:17'
environment: environment:
- POSTGRES_USER=zitadel - POSTGRES_USER=zitadel
- PGUSER=zitadel - PGUSER=zitadel