TIL

Today I Learned


Project maintained by gushwell Hosted on GitHub Pages — Theme by mattgraham
  1. 管理者権限でコマンドプロンプトを起動

  2. psql を起動

 > psql -U <username> -d {database name} -h {host name}
  1. パスワード入力

  2. 以下のコマンドを実行
      => \copy <tablename> from 'ファイルパス' with csv
    
  3. psqlを終了
  => \q