# Discourse\_docker default templates and postgres version are out of sync

**URL:** <https://meta.discourse.org/t/discourse-docker-default-templates-and-postgres-version-are-out-of-sync/310440>\
**Category:** Self-hosting\
**Created:** [June 4, 2024, 1:09am UTC](https://meta.discourse.org/t/discourse-docker-default-templates-and-postgres-version-are-out-of-sync/310440 "2024-06-04T01:09:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [June 4, 2024, 10:46pm UTC](https://meta.discourse.org/t/discourse-docker-default-templates-and-postgres-version-are-out-of-sync/310440/3 "2024-06-04T22:46:00Z")

</div>

Note that `psql --version` and `docker exec data su postgres -c "echo 'select version();'|psql"|grep PostgreSQL|cut -d " " -f 3` are not the same thing.

I think that the image has up-to-date client tools (that work for people who are running later versions of postgres that Discourse (probably) supports) and hasn’t force everyone to update to PG15 or whatever the plan is just yet.

---

_[View the full topic](https://meta.discourse.org/t/discourse-docker-default-templates-and-postgres-version-are-out-of-sync/310440)._
