PostgreSQL 9.1 pg_restore error regarding PLPGSQL

前端 未结 6 1493
-上瘾入骨i
-上瘾入骨i 2020-12-23 02:30

I am using Postgres for a django project and I am currently implementing a database backup/restore system that as simple as possible performs a pg_dump when the user clicks

6条回答
  •  旧巷少年郎
    2020-12-23 02:50

    Are you loading into a DB that was created by a different user? If possible try restoring using the same user that created the DB and its existing objects.

提交回复
热议问题