# Restoring backup fails due to Postgres version mismatch

**URL:** <https://meta.discourse.org/t/restoring-backup-fails-due-to-postgres-version-mismatch/47536>\
**Category:** Self-hosting\
**Created:** [July 20, 2016, 9:04am UTC](https://meta.discourse.org/t/restoring-backup-fails-due-to-postgres-version-mismatch/47536 "2016-07-20T09:04:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [July 20, 2016, 9:28am UTC](https://meta.discourse.org/t/restoring-backup-fails-due-to-postgres-version-mismatch/47536/3 "2016-07-20T09:28:25Z")

</div>

You could try removing the lines that PostgreSQL 9.3 is complaining about, but we don’t make any guarantees about anything working on PostgreSQL older than 9.5. Although we don’t (knowingly) use any 9.5isms at present (`pg_dump` is doing that `row_security` stuff, not us), we only test on 9.5, run all of our customer sites on 9.5, and we could start using something from 9.5 at any time because it solves a problem.

---

_[View the full topic](https://meta.discourse.org/t/restoring-backup-fails-due-to-postgres-version-mismatch/47536)._
