Baseball makes no apologies for being a game of failure. But it does extend an olive branch of sorts.

It comes in the form of opportunity. There is nearly always another game, another inning, another at-bat or even the next pitch. Especially in April, there is always another chance for redemption. (And sometimes in October, too. You can ask Barry Zito about that one.)

So it happened Wednesday night for Ryan Vogelsong, 12 days after he was unable to fashion a win out of an 8-0 lead at Dodger Stadium in his season debut. So it happened for Pablo Sandoval, whose make-good moment involved a significantly tighter time frame.

Two pitches after Sandoval took the ugliest of guess hacks at a first pitch from lefty J.P. Howell, the Giants’ No.3 hitter reacted to an ankle-high sinker and dumped it into center field for the tiebreaking hit.

The Giants made it stand up in a 2-1 victory over their archrivals – their sixth consecutive one-run game. They’ve won four of them, including two against the deep-pocketed Dodgers here to position themselves for a try at a sweep.

“That’s our style,” said Giants manager Bruce Bochy, who hasn’t forgotten old memes. “We’ve been like this for awhile – for years. It’s good for the guys to know every play, every pitch counts.”

It’s that realization that makes it so much easier to put past failures behind them. The present tense counts just as much. More, even.

So it didn’t matter that the Giants’ heroes on Bochy’s birthday, aside from four stalwart relievers, were a .186-hitting third baseman and a No.5 starter who entered with an 8.00 ERA.