Matt Cain and Cole Hamels, who are expected to have contracts totaling more than $250 million by next season, each allowed five runs and three homers Saturday. Each went deep against the other in a game the Giants won when someone who missed a squeeze sign later bunted home the go-ahead run.

The preceding paragraph was brought to you by the inventors of baseball, who conceived a game that is almost wager-proof because of how screwy it can get.

"That's why baseball is fun," goat/hero Gregor Blanco said after the 6-5, 10-inning win. "We did it with a bunt today. Tomorrow, we can do it with pitching, and the next day, more home runs. That's why we're playing so good this year."

Blanco's home run comment might require more study, but he is right about the team. The Giants have shot out of the chute with seven wins in eight games since the break, secured a winning trip with a game to play and reached 12 games above .500 for the first time in 2012.

And the bats have played a big role.

Melky Cabrera, whose eighth-inning homer off Hamels tied the game 5-5 after Ryan Howard's three-run blast off Cain gave Philadelphia a 5-4 lead, is still Mr. Consistency, but it means more because Buster Posey is mashing behind him.

Posey singled twice, doubled and hit a two-run homer for his fourth career four-hit game. The other three came when he was Player of the Month and propelled the Giants to a 20-8 record in July 2010, a key to their championship run.

In the past six games, Posey is 14-for-24 with four doubles and 11 RBIs.

"We're playing well," Posey said. "A few guys are coming up with big hits. (Brandon) Crawford last night had one that gave us some separation. We had a few in Atlanta. That's going to be the key to our success."