\copy abos from '/Users/jreiners/Downloads/test.csv' (format csv, delimiter ';', encoding 'utf-8'); ERROR: invalid input syntax for integer: "3192"
Source: 319295956489011018NULLМурзилка32006-
\copy abos from '/Users/jreiners/Downloads/text.txt' (encoding 'utf-8', null 'NULL'); ERROR: invalid input syntax for integer: "3192"
Is this the first line in the file? Have you verified the file and made absolutely sure there are no invisible characters. Use something like xxd to examine the file before checking anything else. I'm not sure how PostgreSQL will work if there is a byte-order-mark at the beginning of a file and don't have time to test that at the moment.