read specified pg_log file and output everything except duplicate key errors