Preparation
You need to have already created your table (yourtable) in postgres
Steps
- save from Sheet Software to tab delimited text file including headers
- encode in UTF without BOM
- copy file on postgres server to
/tmp
- log on to postgres using
psql -d metasfresh
- start import
copy migration_data.yourtable from '/tmp/yourfile.txt' with delimiter E'\t' CSV HEADER;
View source file on GitHub.com