PostgreSQL 9.1 pg_restore error regarding PLPGSQL

前端 未结 6 1500
-上瘾入骨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:46

    If you're running Postgres 11's (or higher) version of pg_dump then you can take advantage of the new --no-comments flag.

提交回复
热议问题