Help for this page

Select Code to Download


  1. or download this
    cat file.txt | psql -d dbname -c "copy mytable from stdin csv"
    
  2. or download this
    < file.txt psql -d dbname -c "copy mytable from stdin csv"