psql invalid command \N while restore sql

前端 未结 14 914
后悔当初
后悔当初 2020-12-04 15:54

I\'m trying to restore my dump file, but it caused an error:

psql:psit.sql:27485: invalid command \\N

Is there a solution? I searched, but

14条回答
  •  隐瞒了意图╮
    2020-12-04 16:38

    For me it was the ENCODING and LOCALE that differ from the source database. Once I dropped the target DB and recreated it it was working fine.

提交回复
热议问题