I’m new to all this, but saw that postgres just did a big update to 18 with a bunch of useful improvements. Can we use Directus with Postgres 18 yet? If not, do you have an idea of when we will?
I’m not seeing any breaking changes in the v18 release notes that make me think it would be incompatible with Directus as it stands right now. You should be able to use the regular postgres client in Directus and connect it up to a Postgres 18 database. That being said, we haven’t updated our CI yet to test against PG 18 by default, so your mileage may vary.
I ran into the same issue and figured out there was a change if you are using docker.
Breaking change (PostgreSQL 18+): Default
VOLUMEpath changed to/var/lib/postgresql
Just changing the path works fine for fresh installation. However, you may need to run pg_upgrade for existing databases.
I am using Directus with Postgres 18 Docker and it works fine.
Any idea when the CI will be updated so we know Postgres 18 will work properly?
I’ve tried upgrading to Postgres 18 on a dev machine, including the path change but Directus wouldn’t start. Any updates on support for Postgres 18?