# Trouble with restore: "invalid command \\restrict"

**URL:** https://meta.discourse.org/t/trouble-with-restore-invalid-command-restrict/386992
**Category:** Support
**Created:** [October 28, 2025, 8:19pm UTC](https://meta.discourse.org/t/trouble-with-restore-invalid-command-restrict/386992 "2025-10-28T20:19:59Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [October 29, 2025, 6:28am UTC](https://meta.discourse.org/t/trouble-with-restore-invalid-command-restrict/386992/2 "2025-10-29T06:28:46Z")

</div>

You need to be on PG 15.14 and you need to make sure all your instances are on that. This patches a large security issue.

> **[PostgreSQL: CVE-2025-8714: PostgreSQL pg\_dump lets superuser of origin server...](https://www.postgresql.org/support/security/CVE-2025-8714/)**

---

_[View the full topic](https://meta.discourse.org/t/trouble-with-restore-invalid-command-restrict/386992)._
