CSN is reporting the Giants traded RHP Joe Martinez to the Pirates for LHP Javier Lopez.
Martinez is a 27-year old righty.
In four appearances with the Giants in 2010, he is 0-1 with a 4.91 ERA. He's walked six and struck out three in 11 innings. Martinez hasn't pitched for San Francisco since June 15.
In 14 games with AAA Fresno including 13 starts, Martinez is 5-3 with a 3.32 ERA, 65 strikeouts and 26 walks.