The Giants have acquired infielder Gordon Beckham from the Braves for minor-league infielder Rich Rodriguez, as first reported by Hank Schulman of the San Francisco Chronicle.

Beckham, 30, will not be eligible for the Giants’ postseason roster because he was acquired after the Aug. 31 waiver trade deadline. He will instead provide some infield depth for San Francisco over the season’s final games, replacing Eduardo Nunez, who is dealing with a hamstring injury.

San Francisco only has six games left this season, and currently sits one game ahead of the Cardinals in race for the second NL Wild Card. The club will likely turn to Beckham as an emergency depth option at third base in the absence of Nunez.

The Giants also have Conor Gillaspie, Ehire Adrianza and Kelby Tomlinson as third base options. Beckham will likely see some playing time over the last week after appearing in 85 games with Atlanta this year.

Beckham has hit just .217/.300/.354 with the Braves this season after signing a 1-year, $1.25 million contract with the club over the winter. He will be a free agent after the season.

Rodriguez, 23, is a 6-foot-1, 170 lb. Venezuelan infielder who hit .182/.216/.191 in 37 games split between High-A San Jose and Double-A Sacramento this season.