On November 12, the PostgreSQL project released 18.7 and 17.12, which fix 52 security vulnerabilities. Most are rated High (CVSS 8.8), and many let a database user who can sign in run arbitrary code on the server. One more lets a client that hasn't signed in make a PostgreSQL 18 server restart.
Appwrite Cloud has rolled the patched build out to every managed PostgreSQL database, in every region. The update is mandatory, so there is nothing to opt into:
- PostgreSQL 18 databases move to 18.7, and PostgreSQL 17 databases move to 17.12.
- It is a patch release within the same major version. Your data, extensions, connection strings, and credentials stay the same.
- A database switches at its next restart, such as waking from idle, a failover, or a resize. The update adds no downtime of its own.
To switch right away, pause and resume the database, which stops it briefly. Run SELECT version(); to see which version it is on.
The PostgreSQL release also fixes index corruption from earlier versions. After your database is on the new version, run REINDEX INDEX CONCURRENTLY on any of these you use:
- GiST indexes that use
gist_trgm_opsfrompg_trgm - B-tree indexes on
bpcharcolumns declared without a length (char(n)is not affected) - GIN indexes that have returned missing or unrelated rows