kevin kempter <kevin@kevinkempterllc.com> writes:
> I'm trying to run a restore from a pg_dump and I get loads of these:
> invalid command \N
It sounds like you had an error in a COPY command, which caused psql
not to go into copy-data-eating mode but instead keep trying to read
the data as SQL commands.
Generally speaking, looking at the *first* error is the most informative
way to proceed --- all the rest may just be cascading failures.
regards, tom lane