Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I had a similar issue but rather than try downgrading just pg_restore in my postgres docker image, blindly adding --schema=public worked. Commented May 27, 2023 at 21:58
  • Using pg_dump 15 and then pg_restore 14.11 caused this error. Although it is harmless in general, I use microservices so containers fail and exit with code 1 as a result. I used 14.11 pg_dump and pg_restore, the error was fixed! Commented May 2, 2024 at 11:36