Related questions
psql invalid command \N while restore sql
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 I didn't get a clear answer.
PostgreSQL: database restore from dump - syntax error
I'm trying to restore a PostgreSQL database by executing the SQL that pg_dump created, on an empty database.
I'm getting this error:
ERROR: syntax error at or near "\"
LINE 5211: \.
lines 5210 and 5211 read:
COPY auth_group (id, name) FROM stdin;
\.
…