Nevertheless, the invalid command \N error is typical for a Postgres version mismatch…
invalid command \N