How to SELECT with two CSV files/... on PostgreSQL?
Error is obvious since you're intending to add characters to integer defined column. Just change datatype for name column in log table from integer to varchar(10)