1 min read 1 like
Create a Postgres 18 cluster with flyctl
Vincent Charlebois
You can now pick Postgres 18 when creating a Managed Postgres (MPG) cluster with flyctl. You could already pick it in the dashboard; as of flyctl v0.5.15, you can also run:
fly mpg create --pg-major-version 18
If you leave off the flag, you’ll now get Postgres 17, just like in the dashboard. You can still choose 16. We’ve updated the Managed Postgres docs to list all supported versions.
Already running 16 or 17 and want to upgrade to 18? There’s no in-place major version upgrade yet. To move to 18, create a new cluster, then dump and restore your database. The import guide walks you through that process. If you give it a try, let us know how it goes.