It seems you didn't correctly replace \N with Null. But some nulls of these results have a "null" instead of "Null"
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных