psql_csv/pg_push.sh
2020-05-01 01:17:12 -04:00

3 lines
162 B
Bash

$PG -c "DELETE FROM import.targ_rev;"
$PG -c "\copy import.targ_rev FROM //mnt/c/Users/PTrowbridge/Downloads/004_XNT0TQT3_TRG.csv WITH CSV HEADER DELIMITER ',';"