I have a file like (CSV file):
value1|value2|value2.... value1|value2|value2.... value1|value2|value2.... value1|value2|value2....
and w
Let consider that your data are in the file values.txt and that you want to import them in the database table myTable then the following query does the job
values.txt
myTable
COPY myTable FROM 'value.txt' (DELIMITER('|'));
https://www.postgresql.org/docs/current/static/sql-copy.html