Giants needed a win against the Mets and got one

SAN FRANCISCO – The Giants needed to win it. Nothing could have been more obvious. We didn’t need the observation from manager Bruce Bochy on that necessity, although we had it.

“Some games are bigger than others,’’ said Bochy, defying the baseball axiom that 162 times a season nothing varies, “and we needed to win this ballgame.’’

Which they did win. Showing poise. Showing skill. Showing the rest of us, the doubters, that while they’re not going to be winning any championships, as long as the Dodgers keep scoring runs in bunches, the Giants will be a presence. Four in a row they had lost, one to the Washington Nationals and then, through various methods, the first three of a four-game series against the New York Mets.

Four in a row, and Bochy sighing, “The last thing you want to do is get swept at home.’’

And because of Matt Cain, and a couple of double plays, one with nobody out and the bases loaded in the second inning that went first baseman Travis Ishikawa to catcher Bengie Molina to Ishikawa, it would be the last thing.

Against a team that had scored 24 runs in the previous three games, against a team that starting back in 2008 had beaten them eight consecutive times, the Giants on Sunday evening stopped the Mets, 2-0, before a third straight sellout crowd, this announced at 43,012.

They tell us you never know what you’ll see at the old ballgame. What we saw was the Mets getting no runs while their pitcher Mike Pelfrey got called for three balks, the most by any pitcher in the big leagues in 15 years. The first two balks were in no small part responsible for each of the Giants’ runs.

“That was a break for us,’’ said Bochy.

So for two consecutive weeks, the Giants have been at .500 or above. That wouldn’t have been the situation with another loss. They were 18-18 before the first pitch. Now they’re 19-18. Now closer Brian Wilson’s nightmares are squelched. Now the Giants once more can believe in the pitching upon which they must rely. Or haven’t you seen the batting averages?

Yes, Pablo Sandoval, who had a first inning single, was balked to second and scored on Bengie Molina’s single, is at .314. And Molina, the rock, is hitting .304. But Eugenio Velez, who led off and played second, is at .111. And Nate Schierholtz is .217. And Ishikawa is .236. And Aaron Rowand .248. And Randy Winn .255.

If it is to be done, it will be done by pitching, and so Sunday, when the game-time temperature was 76 degrees and ESPN was carrying the telecast, it was done by pitching.

Mostly by Cain. Then Bob Howry. Then Jeremy Affeldt, who stopped a possible eighth inning rally by striking out Gary Sheffield and forcing pinch hitter Angel Pagan to hit into a double play. Then, at last, by Wilson, who after disintegrating on Thursday and Friday had a perfect ninth.

“We dodged a couple of bullets,’’ agreed Bochy. “Couple of huge double plays saved us. We played well defensively. Matt worked hard the first couple of innings, and he got through it. He kept his composure and made pitches. I wasn’t sure in the second we were going to get six out of him.’’

In the second, you couldn’t be sure you were going to get two out of Cain. He walked the bases loaded with nobody out. Then the double play. Then a groundout by Pelfrey. Then a sigh of relief.

Cain had thrown 49 pitches by the time the inning closed. “But he’s a horse,’’ said Bochy.

Rachel Alexandra? Mine That Bird? This was Cain’s Derby and Preakness. If he couldn’t go wire-to-wire, he could go 119 pitches, go through six innings, go far enough and strongly enough to improve his record to 4-1 with a 2.65 earned run average.

“This game was huge for our team,’’ said Affeldt. “Matt did everything. His pitching kept us in the game, and he had a big hit.’’

That came in the fifth. Rowand was on third after a single, Pelfrey’s second balk and a groundout by Ishikawa. Bochy, knowing Cain is good bunter, called the suicide squeeze. Rowand took off, but Pelfrey’s pitch dove so severely that Cain could just knock the ball foul.

With the count 3 and 2, Cain had to swing, not bunt. He swung and lined a single to left, bringing in Rowand.

“Matt Cain doesn’t panic,’’ said Affeldt. “When you needed what we needed, he gave it to us.’’

Cain said he tried to keep his emotions in check. “When you get into the situations I put myself in,’’ he said, “you have to stay calm. It worked out great.’’

After four straight losses, it was about time.