Comments posted to this topic are about the item PostgreSQL Table Import/Export from and to CSV File
When using an AWS RDS instance the file option of the COPY statement is not supported, however you can use STDIN.
cat my_file.csv|psql -c "copy my_schema.my_table(id,name,description) from STDIN with csv header"
Copying to a file can be achieved using STDOUT
Viewing 2 posts - 1 through 1 (of 1 total)