The Giants' mood swings were off the charts in three extraordinary days at Wrigley Field.

The takeaways: A grounds crew that made history, a 2-0 loss, a successful protest that wiped out that 2-0 loss, new knowledge about Rule 4.12(a)(3), an 8-3 win, the 2-0 loss that turned into a 2-1 loss, and - finally! - a 5-3 win.

Just another routine stop on Chicago's North Side.

Capping Thursday's one-and-a-half-header - a half-game shy of a doubleheader - the Giants beat the Cubs 5-3 behind Madison Bumgarner's arm and bat and Buster Posey's perfection at the plate (4-for-4 with a homer, two doubles and a walk).

He caught all of Thursday's 14 innings a day after he rested because of hip tightness and homered into the left-field bleachers for the nightcap's decisive hit.

"Long day for all the boys, especially Buster," manager Bruce Bochy said. "I think the day off served him well."

In the opening act the Giants fell 2-1 in the suspended game, and Bochy was comforted even in defeat that the suspended game went the distance: 4 1/2 innings Tuesday and four more Thursday.

That's what both teams said they wanted before Major League Baseball upheld the Giants' protest of Tuesday's game, which was called when the infield was deemed unplayable thanks to failures by the grounds crew. Before the game resumed Thursday, the teams were treated to another rain delay, this one an hour and 57 minutes.

Coupled with Tuesday's 4-hour, 34-minute sit-around, the total was 6 hours and 31 minutes, the longest in-game delay in history, according to the Society for American Baseball Research.