# Supported postgresql versions

**URL:** https://meta.discourse.org/t/supported-postgresql-versions/174751
**Category:** Self-hosting
**Created:** [January 1, 2021, 4:58pm UTC](https://meta.discourse.org/t/supported-postgresql-versions/174751 "2021-01-01T16:58:29Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Ghan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghan/32/177964_2.png) [@Ghan](https://meta.discourse.org/u/Ghan)
#### Post date: [January 1, 2021, 5:08pm UTC](https://meta.discourse.org/t/supported-postgresql-versions/174751/2 "2021-01-01T17:08:49Z")

</div>

Postgres is bundled in with the Docker container for Discourse, so this is generally hands-off. The Discourse team upgrades the Postgres version as new releases come out and they are properly tested. The most recent upgrade was to version 13. You can see the details of that upgrade here:

> [@PostgreSQL 13 update](https://meta.discourse.org/t/postgresql-13-update/172563):
>
> warning WARNING! If your database is very large, you will need a lot of extra disk space (2x database size) and should be very careful with this upgrade! We’ve just landed changes to upgrade our Docker image to PostgreSQL 13. Any site admins rebuilding Discourse from the command line will be upgraded to PostgreSQL 13 from the previous PostgreSQL 12. Note that if you held back from upgrading when the PostgreSQL 12 update [happened back in May](https://meta.discourse.org/t/postgresql-12-update/151236), you can skip that upgrade and go straight to P…

---

_[View the full topic](https://meta.discourse.org/t/supported-postgresql-versions/174751)._
