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 had the same problem, I created a new database and got invalid command \N on restore with psql.
I solved it by setting the same tablespace with the old database.
For example, old database backup had tablespace "pg_default", I defined the same tablespace to the new database, and the above error has gone!