SAN FRANCISCO (AP) - Juan Uribe hit a tie-breaking home run leading off the eighth inning and Edgar Renteria added a two-run shot, helping the San Francisco Giants beat the Florida Marlins 6-4 on Tuesday night.
Buster Posey extended his major league-leading hit streak to 20 games, two shy of the Giants' franchise rookie record held by Willie McCovey, as San Francisco won for the 16th time in 20 games.
Uribe, starting in place of Pablo Sandoval at third base, just missed a home run on the first pitch he saw from reliever Brian Sanches (0-2) before he belted a 1-2 pitch deep over the wall in left-center to break a 3-3 tie. Renteria followed three batters later with his second homer of the season.
Dan Uggla homered twice for Florida, which lost for just the fifth time in 15 games.
Sergio Romo (4-3) pitched one scoreless inning for the win while Brian Wilson worked the ninth for his 30th save in 32 tries, helping the Giants remain 1 1/2 games ahead of Cincinnati in the NL wild card race.
They did it by outlasting Florida All-Star Josh Johnson then scoring three times off the Marlins' bullpen.
Uribe's home run was his 14th of the season and his second in four games. Renteria's was his first since April 9.
Johnson had not allowed more than two runs in his previous 13 starts and was attempting to become the first pitcher since Houston's Mike Scott (1986) to run the streak to 14.
It didn't happen for the Marlins' All-Star.
Aubrey Huff hit an RBI-double in the third to drive in Andres Torres and later scored on Posey's single. Posey's streak is two shy of McCovey's rookie record set in 1959, and the longest by any Giant since Randy Winn had a 20-game streak in 2007.
Torres doubled with two outs in the fifth and scored on Freddy Sanchez's single to make it 3-2 but Uggla's solo home run off Cain tied the score.
Johnson allowed three runs and eight hits, matching his season high.
San Francisco's Matt Cain scattered four hits and gave up three runs over seven innings but left with a no-decision for only the second time in his last 18 starts.
Uggla added his 21st home run of the season with two outs in the ninth off Wilson to cut it to 6-4. San Francisco's closer then struck out Wes Helms to end the game.
Notes: Johnson still leads the majors with a 1.72 ERA. ... Huff needs one hit to reach 1,500 for his career. ... Sandoval, who missed the past two games while attending to personal matters in Venezuela, arrived at the park less than two hours before the start of the game. He's expected to be in the lineup Wednesday. ... Sanchez returned to the No. 2 spot in the Giants' lineup after spending the last two games hitting eighth. ... Florida manager Erwin Rodriguez said the team should know within five days whether injured OF Chris Coghlan will require surgery after tearing the meniscus in his left knee while celebrating the Marlins' win over Atlanta on Sunday. Coghlan, who was placed on the 15-day DL Tuesday, will meet with a doctor in Miami later this week. ... The Marlins made two other moves, designating minor league RHP Kris Harvey for assignment and releasing LHP Nate Robertson. ... George Davis holds the Giants franchise hitting streak record with 33 in 1893. ... Uggla has 142 home runs with the Marlins, one shy of the franchise record held by Mike Lowe.