Components

Postgres

Mastodon requires an installation of Postgres as the primary SQL database, and administrators must ensure a supported Postgres version is present and configured.
Versions of Mastodon are listed across the top of the matrix. Versions of each required component are listed along the left side.
4.64.54.44.34.2
18.x
17.x
16.x
15.x
14.x
13.x
12.x
11.x
10.x

References: Postgres Versioning

Terminal
# Check running version
psql --version
Always use caution when moving between major versions of Postgres (ex: 15.x to 16.x) as failure to adequately plan this migration may result in data-loss!