clear out existing before load
This commit is contained in:
parent
1dceae4a2f
commit
f938c35488
@ -5,5 +5,5 @@ getlist() {
|
|||||||
$PG -c "\copy import.targ_rev FROM $f WITH CSV HEADER DELIMITER ',';"
|
$PG -c "\copy import.targ_rev FROM $f WITH CSV HEADER DELIMITER ',';"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
$PG -c "DELETE FROM import.targ_rev;"
|
||||||
getlist
|
getlist
|
||||||
|
Loading…
Reference in New Issue
Block a user